Skip to content

Commit

Permalink
docs: 更新文档
Browse files Browse the repository at this point in the history
  • Loading branch information
liangjingkanji committed Dec 3, 2023
1 parent 231f466 commit ed3bd9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/checked.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ rv.bindingAdapter.setChecked(0, true) // 一开始就选中第一个
1. `checkedXX()`函数通知BRV更新选中索引
2. `onChecked()`通知开发者选中状态更新

## 数据变化
## 数据变化导致异常
如果列表发生插入/覆盖数据集行为, 那么集合位置/数量和BRV内部保存的选中索引`checkedPosition`可能对不上

网络请求刷新列表场景
Expand Down
2 changes: 1 addition & 1 deletion docs/upfetch.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</figure>

!!! note "实现原理"
将PageRefreshLayout反转, 再将RV反转, RV反转2次等于还原
将PageRefreshLayout反转, 再将RV反转(相当于RV反转2次等于还原)

```kotlin hl_lines="8"
rv.setup {
Expand Down

0 comments on commit ed3bd9e

Please sign in to comment.