Skip to content

Commit f9a939b

Browse files
committed
[UPDATE] Readme
1 parent 2cbef71 commit f9a939b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

README.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ allprojects {
1515
#### Step 2. Add the dependency
1616
```groovy
1717
dependencies {
18-
implementation 'com.github.manneohlund:smart-recycler-adapter:1.3.0'
18+
implementation 'com.github.manneohlund:smart-recycler-adapter:1.4.0'
1919
}
2020
```
2121

@@ -24,7 +24,6 @@ dependencies {
2424

2525
```java
2626
SmartRecyclerAdapter
27-
.init(this) // Must be Activity or Fragment reference
2827
.items(items)
2928
.map(Header.class, HeaderViewHolder.class)
3029
.map(Post.class, PostViewHolder.class)
@@ -61,7 +60,6 @@ More events are coming.
6160

6261
```java
6362
SmartRecyclerAdapter
64-
.init(this) // Must be Activity or Fragment reference
6563
.items(items)
6664
.map(Post.class, PostViewHolder.class)
6765
// Adds event listener for PostViewHolder and also automatically adds row item onClickListener on root view
@@ -89,7 +87,6 @@ You can also set an OnViewDetachedFromWindowListener for immediate view holder d
8987

9088
```java
9189
SmartRecyclerAdapter
92-
.init(this)
9390
.items(items)
9491
.map(Header.class, HeaderViewHolder.class)
9592
.map(Footer.class, FooterViewHolder.class)

0 commit comments

Comments
 (0)