Skip to content

Commit

Permalink
edit README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
YcdYng committed Dec 12, 2016
1 parent 98f0dd0 commit 9916d13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ make RecyclerView.Adapter more convenient


# Usage
**Only One Item View Type**
**One Item View Type**
```
mQuickRecyclerAdapter = new QuickRecyclerAdapter<DataModel>(this, R.layout.item, mDataModelList) {
Expand All @@ -20,8 +20,8 @@ mQuickRecyclerMultiAdapter = new QuickRecyclerMultiAdapter<DataModel>(this, mDat
@Override
protected void setItemViewType() {
// add item type type and its layout
addItemType(1, R.layout.list_item);
// add item view type and its layout
addItemType(1, R.layout.list_item_1);
addItemType(2, R.layout.list_item_2);
}
Expand Down

0 comments on commit 9916d13

Please sign in to comment.