Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alidili committed Jan 15, 2019
1 parent 67714e0 commit ac4abea
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,7 @@ mSwipeToDismissWrapper.setItemDismissListener(new ItemSwipeCallback.ItemDismissL
mDividerAdapter = new DividerAdapter(mDataList);
LinearLayoutManager linearLayoutManager = new LinearLayoutManager(this);
mRecyclerView.setLayoutManager(linearLayoutManager);
SuperDividerItemDecoration dividerItemDecoration = new SuperDividerItemDecoration(this,
linearLayoutManager);
SuperDividerItemDecoration dividerItemDecoration = new SuperDividerItemDecoration(this, linearLayoutManager);
dividerItemDecoration.setDrawable(getResources().getDrawable(R.drawable.custom_bg_divider));
mRecyclerView.addItemDecoration(dividerItemDecoration);
mRecyclerView.setAdapter(mDividerAdapter);
Expand Down Expand Up @@ -205,6 +204,16 @@ mClickWrapper.setOnItemTouchListener(new OnItemTouchListener() {
});
```

## ProGuard

If you are using ProGuard you might need to add the following option:

``` xml
-keep class com.yl.recyclerview.** {
*;
}
```

## License

```
Expand Down

0 comments on commit ac4abea

Please sign in to comment.