Skip to content

Commit

Permalink
<docs> : README
Browse files Browse the repository at this point in the history
  • Loading branch information
LinXunFeng committed May 28, 2022
1 parent 4430e46 commit f138022
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ ListViewObserver(
)
```

默认是 `ListView` 在滚动的时候才会观察到相关数据,如果需要,可以使用 `ListViewOnceObserveNotification` 进行手动触发一次观察
默认是 `ListView` 在滚动的时候才会观察到相关数据。

如果需要,可以使用 `ListViewOnceObserveNotification` 进行手动触发一次观察

```dart
ListViewOnceObserveNotification().dispatch(_sliverListViewContext);
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ ListViewObserver(
)
```

By default, `ListView` relevant data will only be observed when rolling. If needed, you can use `ListViewOnceObserveNotification` triggered an observation manually.
By default, `ListView` relevant data will only be observed when rolling.

If needed, you can use `ListViewOnceObserveNotification` triggered an observation manually.

```dart
ListViewOnceObserveNotification().dispatch(_sliverListViewContext);
Expand Down

0 comments on commit f138022

Please sign in to comment.