Skip to content

Commit

Permalink
docs: 更新文档
Browse files Browse the repository at this point in the history
  • Loading branch information
liangjingkanji committed Nov 28, 2023
1 parent bf12ab9 commit 231f466
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ BRV为快速构建RV列表工具, 以开源分享来完善, 将一直保持社
2. 阅读示例, 快速运用
3. 阅读源码, 熟练并拓展

## 创建一个简单的列表
## 简单示例

```kotlin
rv.linear().setup {
Expand All @@ -21,7 +21,7 @@ rv.linear().setup {
<br>
BRV支持以下4种数据绑定方式, 根据使用场景选择

## 函数回调
## onBind

`onBind`函数中填充数据

Expand All @@ -38,7 +38,7 @@ rv.linear().setup {



## 实现接口
## ItemBind

为Model实现接口`ItemBind`, 然后在`onBind`中进行赋值数据

Expand Down
2 changes: 1 addition & 1 deletion docs/multi-type.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ binding.rv.linear().setup {
仅简单演示, 实际可以让`BaseInterfaceModel`子类分别实现不同业务逻辑


## 区分类型
## 区分类型赋值

每个类型的数据和视图可能不同, 所以需要根据不同类型做不同处理

Expand Down

0 comments on commit 231f466

Please sign in to comment.