Skip to content

Commit

Permalink
docs: 使用文档-全局防抖动
Browse files Browse the repository at this point in the history
  • Loading branch information
liangjingkanji committed Dec 16, 2023
1 parent b2f942d commit 2298247
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/click.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,6 @@ BRV使用`onClick`函数设置监听事件即包含防抖动, 以下为修改防
```

!!! question "全局防抖动"
使用`BRV.lastDebounceClickTime`来判断抖动间隔时间, 即可统一BRV和你实现的防抖动点击事件监听
使用`BRV.lastDebounceClickTime`来判断抖动间隔时间, 即可统一BRV和你实现的防抖动点击事件监听

- [防抖动示例](https://github.com/liangjingkanji/BRV/blob/master/brv/src/main/java/com/drake/brv/listener/OnDebounceClickListener.kt)

0 comments on commit 2298247

Please sign in to comment.