From ed3bd9e3e200f82d81eadfa183299fee22c6ea5e Mon Sep 17 00:00:00 2001 From: drake Date: Sun, 3 Dec 2023 20:12:37 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/checked.md | 2 +- docs/upfetch.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/checked.md b/docs/checked.md index 22d23f22..75e4824c 100644 --- a/docs/checked.md +++ b/docs/checked.md @@ -57,7 +57,7 @@ rv.bindingAdapter.setChecked(0, true) // 一开始就选中第一个 1. `checkedXX()`函数通知BRV更新选中索引 2. `onChecked()`通知开发者选中状态更新 -## 数据变化 +## 数据变化导致异常 如果列表发生插入/覆盖数据集行为, 那么集合位置/数量和BRV内部保存的选中索引`checkedPosition`可能对不上 网络请求刷新列表场景 diff --git a/docs/upfetch.md b/docs/upfetch.md index ed858f20..8ff5b325 100644 --- a/docs/upfetch.md +++ b/docs/upfetch.md @@ -12,7 +12,7 @@ !!! note "实现原理" - 将PageRefreshLayout反转, 再将RV反转, RV反转2次等于还原 + 将PageRefreshLayout反转, 再将RV反转(相当于RV反转2次等于还原) ```kotlin hl_lines="8" rv.setup {