Skip to content

Commit ffe1e2f

Browse files
committed
修改说明
1 parent 2f5c0f1 commit ffe1e2f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# FastAdapter
2-
一个快速进行适配器编写的库,适用于RecyclerView,ListView,GridView,ViewPager等,
2+
一个快速进行适配器编写的库,适用于RecyclerView,ListView,GridView,ViewPager等
33
可大大减少样板代码,简化Adapter的编写。
44

55
### 引入依赖
@@ -10,7 +10,7 @@ implementation 'com.yhw.library:fastadapter:1.0.0'
1010

1111
### 使用方法
1212

13-
#### RecyclerView Adapter用法
13+
#### RecyclerView Adapter用法
1414
```kotlin
1515
class MyRecyclerAdapter(dataList: MutableList<String>) : BaseRecyclerAdapter<String>(dataList) {
1616

@@ -29,6 +29,8 @@ class MyRecyclerAdapter(dataList: MutableList<String>) : BaseRecyclerAdapter<Str
2929
}
3030
}
3131
```
32+
**\*其它Adapter具体用法请参考Demo中的代码示例**
33+
3234
#### 首部插入一条数据
3335
```kotlin
3436
adapter.insertItemToFirst("新插入的首部数据")
@@ -73,4 +75,4 @@ adapter.refreshAll(mutableListOf("新数据A", "新数据B", "新数据C", "新
7375
```
7476

7577

76-
**其它Adapter具体用法请参考Demo中的代码示例,示例代码采用Kotlin语言编写,如果你的项目是Java,用法与Kotlin基本类似**
78+
**\*示例代码采用Kotlin语言编写,如果你的项目是Java,用法与Kotlin基本类似**

0 commit comments

Comments
 (0)