Skip to content

Commit c9e5b09

Browse files
authoredJun 4, 2019
Update README.md
1 parent bd2240c commit c9e5b09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ amazing recyclerview with strangegridlayout and item present animation.
44

55
<image src=https://user-images.githubusercontent.com/20221469/56945920-5c2f5780-6b46-11e9-8284-2dd274a0333f.gif width=225 height=400>
66

7-
***control in your code***
7+
### how to use
88
```java
99
RecyclerView recyclerView=findViewById(R.id.recyclerview);
1010
StaggeredGridLayoutManager staggeredGridLayoutManager=new StaggeredGridLayoutManager(3, StaggeredGridLayoutManager.VERTICAL);
1111
recyclerView.setLayoutManager(staggeredGridLayoutManager);
1212
recyclerView.setHasFixedSize(true);
1313
recyclerView.setAdapter(new MyAdapter());
1414
```
15-
***recyclerview adapter implementation***
15+
1616
```java
1717
public int getItemViewType(int position)
1818
{

0 commit comments

Comments
 (0)
Please sign in to comment.