From 9916d1385b1611ba773ef6c1accc8c02a933ea75 Mon Sep 17 00:00:00 2001 From: YcdYng Date: Mon, 12 Dec 2016 10:34:31 +0800 Subject: [PATCH] edit README.md --- .idea/misc.xml | 2 +- README.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.idea/misc.xml b/.idea/misc.xml index cca2cda..7158618 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -37,7 +37,7 @@ - + diff --git a/README.md b/README.md index cf49065..067ffe2 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ make RecyclerView.Adapter more convenient # Usage -**Only One Item View Type** +**One Item View Type** ``` mQuickRecyclerAdapter = new QuickRecyclerAdapter(this, R.layout.item, mDataModelList) { @@ -20,8 +20,8 @@ mQuickRecyclerMultiAdapter = new QuickRecyclerMultiAdapter(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); }