Skip to content

Commit

Permalink
docs: 侧滑按钮实现
Browse files Browse the repository at this point in the history
  • Loading branch information
liangjingkanji committed Sep 7, 2023
1 parent 361a1c8 commit 8eb8f2a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Binary file added docs/img/md/swipe-menu.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 8 additions & 8 deletions docs/swipe.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ rv.linear().setup {

## 侧滑按钮

侧滑按钮推荐使用自定义View实现, 而不是让列表实现

!!! quote "推荐的三方库"
<figure markdown>
![](https://github.com/st235/SwipeToActionLayout/raw/master/images/showcase.gif){ width="400" }
<a href="https://github.com/st235/SwipeToActionLayout"><figcaption>SwipeToActionLayout</figcaption></a>
</figure>
这种交互交互效果属于iOS的官方实现, Android存在和全屏手势冲突, 并不推荐实现
请自定义View实现, 或使用以下三方库

<figure markdown>
![](https://raw.githubusercontent.com/liangjingkanji/BRV/master/docs/img/md/swipe-menu.gif){ width="250" }
<a href="https://github.com/mcxtzhang/SwipeDelMenuLayout/blob/master/README-cn.md" target="_blank"><figcaption>SwipeDelMenuLayout</figcaption></a>
</figure>

侧滑按钮交互属于iOS风格, Android存在全屏手势冲突, 并不推荐



0 comments on commit 8eb8f2a

Please sign in to comment.