Skip to content

Commit a01053f

Browse files
authored
Update README.md
1 parent dceac99 commit a01053f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ In your adapter file implement IVolxAdapter and return your data as a list of ob
1616

1717
```java
1818

19-
public class UsersOwnAdapter extends RecyclerView.Adapter<UsersOwnAdapter.ViewHolder> implements IVolxAdapter {
19+
public class UsersOwnAdapter extends RecyclerView.Adapter<UsersOwnAdapter.ViewHolder> implements IVolxAdapter<UserModel> {
2020

2121
private List<UserModel> mDataset;
2222

2323
@Override
24-
public List<Object> getList() {
25-
return new ArrayList<Object>(mDataset);
24+
public List<UserModel> getList() {
25+
return mDataset;
2626
}
2727

2828
```
@@ -128,7 +128,7 @@ Add it in your root build.gradle at the end of repositories:
128128
```groovy
129129

130130
dependencies {
131-
compile 'com.github.volsahin:volx-recyclerview-fast-scroll:v1.0.7'
131+
compile 'com.github.volsahin:volx-recyclerview-fast-scroll:v1.0.8'
132132
}
133133

134134
```

0 commit comments

Comments
 (0)