Skip to content

Commit

Permalink
Tagged v3.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
drakeet committed Oct 13, 2017
1 parent 4302ac1 commit 3ddf77d
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,31 @@ An Android library to create multiple item types list views easily and flexibly.
English Version | [《Android 复杂的列表视图新写法 · 详解篇》](https://github.com/drakeet/Effective-MultiType/blob/master/README.md)

Previously, when we need to develop a complex RecyclerView / ListView, it is a difficult and
troublesome work. We should override the `getItemViewType` of `RecyclerView.Adapter` , add some
types, and create some `ViewHolder`s relating to the types. The process is cumbersome.
troublesome work. We should override the `getItemViewType()` of `RecyclerView.Adapter` , add some
types, and create some `ViewHolder`s relating to those types. The process is cumbersome.

**Once we need to add a new item type, we have to go to the original adapter and modify some old codes,**
and adapter classes will be more bulky.
Once we need to add a new item type, we have to go to the original adapter and modify some old codes,
and adapter classes will be bulkier.

Today, I created a new intuitive and flexible way to easily create the complex RecyclerView / ListView,
with the MultiType library, we could insert a new item type without changing the old adapter codes
and make them more readable.
Today, I created a new intuitive and flexible way to easily create complex RecyclerViews,
**with the MultiType library, we could insert a new item type without changing the old adapter codes
and make them more readable.**

## Getting started

In your `build.gradle`:

```groovy
dependencies {
compile 'me.drakeet.multitype:multitype:3.3.1'
compile 'me.drakeet.multitype:multitype:3.3.2'
}
```

If you are using `com.android.tools.build:gradle:3.+`, use this instead:

```groovy
dependencies {
implementation 'me.drakeet.multitype:multitype:3.3.1'
implementation 'me.drakeet.multitype:multitype:3.3.2'
}
```

Expand Down
6 changes: 3 additions & 3 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ apply from: 'checkstyle.gradle'

android {
compileSdkVersion 25
buildToolsVersion "26.0.1"
buildToolsVersion "26.0.2"

defaultConfig {
minSdkVersion 9
targetSdkVersion 25
versionCode 331
versionName "3.3.1"
versionCode 332
versionName "3.3.2"
}
buildTypes {
release {
Expand Down
4 changes: 2 additions & 2 deletions library/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ POM_NAME=MultiType
POM_ARTIFACT_ID=multitype
POM_PACKAGING=aar

VERSION_NAME=3.3.1
VERSION_CODE=331
VERSION_NAME=3.3.2
VERSION_CODE=332
GROUP=me.drakeet.multitype

POM_DESCRIPTION=An Android library to retrofit multiple item view types
Expand Down
6 changes: 3 additions & 3 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ apply plugin: 'com.android.application'

android {
compileSdkVersion 25
buildToolsVersion "26.0.1"
buildToolsVersion "26.0.2"
defaultConfig {
applicationId "me.drakeet.multitype.sample"
minSdkVersion 14
targetSdkVersion 25
versionCode 331
versionName "3.3.1"
versionCode 332
versionName "3.3.2"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand Down

0 comments on commit 3ddf77d

Please sign in to comment.