Skip to content

Commit

Permalink
Tagged to v2.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
drakeet committed Oct 26, 2016
1 parent ef70160 commit be25746
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 19 deletions.
2 changes: 1 addition & 1 deletion README-zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ GitHub: [https://github.com/drakeet/MultiType](https://github.com/drakeet/MultiT

```groovy
dependencies {
compile 'me.drakeet.multitype:multitype:2.2.0'
compile 'me.drakeet.multitype:multitype:2.2.1'
}
```

Expand Down
19 changes: 7 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ An Android library to retrofit multiple item view types

English Version | <a href="https://drakeet.me/multitype" target="_blank" rel="nofollow">中文版</a>

Previously, when we need to develop a complex RecyclerView/ListView, it is a boring and troublesome work.
We should override the `getItemViewType` of `RecyclerView.Adapter` and add some types,
Previously, when we need to develop a complex RecyclerView/ListView, it is a boring and troublesome work.
We should override the `getItemViewType` of `RecyclerView.Adapter` and add some types,
then we create some `ViewHolder` to relate the type, all of the process it is a very bad experience.
**And once we need to add a new type, we have to go to the original Adapter and modify some old codes**, so sad.
**And once we need to add a new type, we have to go to the original Adapter and modify some old codes**, so sad.

Today, I create a new graceful way to easily develop the complex RecyclerView/ListView, with my MultiType library,
Today, I create a new graceful way to easily develop the complex RecyclerView/ListView, with my MultiType library,
no matter how complex and how frequently changing list, we could insert a new type without changing the old codes.

[sample screenshots(示例程序截图)](https://github.com/drakeet/MultiType#sample-screenshots)
Expand All @@ -22,7 +22,7 @@ In your `build.gradle`:

```groovy
dependencies {
compile 'me.drakeet.multitype:multitype:2.2.0'
compile 'me.drakeet.multitype:multitype:2.2.1'
}
```

Expand Down Expand Up @@ -115,11 +115,11 @@ public class NormalActivity extends AppCompatActivity {

## Sample screenshots

You could check the `sample` module for more details and after running it will look like:
You could check the `sample` module for more details and after running it will look like:

<img src="art/screenshot-normal.png" width=270 height=486/> <img src="art/screenshot-bilibili.png" width=270 height=486/> <img src="art/screenshot-multigrid.png" width=270 height=486/>

And it has been used in [drakeet/TimeMachine](http://github.com/drakeet/TimeMachine):
And it has been used in [drakeet/TimeMachine](http://github.com/drakeet/TimeMachine):

[<img src="http://ww3.sinaimg.cn/large/86e2ff85gw1f55jnr2zjij20bx0bx0v3.jpg" width=256 height=256/>](http://github.com/drakeet/TimeMachine)

Expand All @@ -143,8 +143,3 @@ License
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.





4 changes: 2 additions & 2 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ android {
defaultConfig {
minSdkVersion 9
targetSdkVersion 24
versionCode 31
versionName "2.2.0"
versionCode 36
versionName "2.2.1"
}
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=2.2.0
VERSION_CODE=31
VERSION_NAME=2.2.1
VERSION_CODE=36
GROUP=me.drakeet.multitype

POM_DESCRIPTION=An Android library to retrofit multiple item view types
Expand Down
4 changes: 2 additions & 2 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ android {
applicationId "me.drakeet.multitype.sample"
minSdkVersion 14
targetSdkVersion 24
versionCode 31
versionName "2.2.0"
versionCode 36
versionName "2.2.1"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand Down

0 comments on commit be25746

Please sign in to comment.