Skip to content
This repository was archived by the owner on Jan 2, 2021. It is now read-only.

Commit fd08a39

Browse files
authored
Merge pull request #24 from DevAhamed/1.2.1-release
Release 1.2.1
2 parents 28e4618 + e84084d commit fd08a39

File tree

5 files changed

+11
-7
lines changed

5 files changed

+11
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ The minimum API level supported by this library is API 9.
2020

2121
```gradle
2222
dependencies {
23-
compile 'com.github.devahamed:multi-view-adapter:1.2.0'
23+
compile 'com.github.devahamed:multi-view-adapter:1.2.1'
2424
2525
// If you want to use data binding
26-
compile 'com.github.devahamed:multi-view-adapter-databinding:1.2.0'
26+
compile 'com.github.devahamed:multi-view-adapter-databinding:1.2.1'
2727
}
2828
```
2929

multi-view-adapter-databinding/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ android {
3434
minSdkVersion 9
3535
targetSdkVersion 25
3636
versionCode 1
37-
versionName "1.2.0"
37+
versionName "1.2.1"
3838

3939
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
4040
}
@@ -60,7 +60,7 @@ publish {
6060
userOrg = 'devahamed'
6161
groupId = 'com.github.devahamed'
6262
artifactId = 'multi-view-adapter-databinding'
63-
publishVersion = '1.2.0'
63+
publishVersion = '1.2.1'
6464
repoName = 'MultiViewAdapter'
6565
desc = 'Additional DataBinding support for MultiViewAdapter'
6666
website = 'https://github.com/DevAhamed/MultiViewAdapter'

multi-view-adapter/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ android {
5454
minSdkVersion 9
5555
targetSdkVersion 25
5656
versionCode 1
57-
versionName "1.2.0"
57+
versionName "1.2.1"
5858

5959
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
6060
}
@@ -93,7 +93,7 @@ publish {
9393
groupId = 'com.github.devahamed'
9494
artifactId = 'multi-view-adapter'
9595
repoName = 'MultiViewAdapter'
96-
publishVersion = '1.2.0'
96+
publishVersion = '1.2.1'
9797
desc = 'Recyclerview Adapter library to create composable view holders'
9898
website = 'https://github.com/DevAhamed/MultiViewAdapter'
9999
}

multi-view-adapter/src/main/java/com/ahamed/multiviewadapter/SimpleRecyclerAdapter.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ public final void setData(List<M> dataList) {
5757
*
5858
* @param itemBinder ItemBinder for the header
5959
* @param header Header to be added
60+
* @param <H> Model class of header
61+
* @param <VH> ViewHolder for header
6062
*/
6163
public final <H, VH extends BaseViewHolder<H>> void addHeader(ItemBinder<H, VH> itemBinder,
6264
H header) {
@@ -69,6 +71,8 @@ public final <H, VH extends BaseViewHolder<H>> void addHeader(ItemBinder<H, VH>
6971
*
7072
* @param itemBinder ItemBinder for the footer
7173
* @param footer Footer to be added
74+
* @param <F> Model class of footer
75+
* @param <VH> ViewHolder for footer
7276
*/
7377
public final <F, VH extends BaseViewHolder<F>> void addFooter(ItemBinder<F, VH> itemBinder,
7478
F footer) {

sample/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ android {
2525
minSdkVersion 16
2626
targetSdkVersion 25
2727
versionCode 1
28-
versionName "1.2.0"
28+
versionName "1.2.1"
2929

3030
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
3131
}

0 commit comments

Comments
 (0)