Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jignesh13 authored Jun 4, 2019
1 parent bd2240c commit c9e5b09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ amazing recyclerview with strangegridlayout and item present animation.

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

***control in your code***
### how to use
```java
RecyclerView recyclerView=findViewById(R.id.recyclerview);
StaggeredGridLayoutManager staggeredGridLayoutManager=new StaggeredGridLayoutManager(3, StaggeredGridLayoutManager.VERTICAL);
recyclerView.setLayoutManager(staggeredGridLayoutManager);
recyclerView.setHasFixedSize(true);
recyclerView.setAdapter(new MyAdapter());
```
***recyclerview adapter implementation***

```java
public int getItemViewType(int position)
{
Expand Down

0 comments on commit c9e5b09

Please sign in to comment.