SwipeMenuRecyclerView Versions Save

Swipe menu for recyclerView. Android 侧滑菜单,可轻松定制各种样式的菜单。

2.1.5

1 year ago

Removed the effect of SwipeFlags on touches on menus.

2.1.4

1 year ago

Support RTL.

2.1.3

1 year ago

Fix designer's onInit method's rightmenu param is always null.

2.1.2

1 year ago
  • Upgrade gradle and kotlin version
  • Fix #21 : Prevent auto close when call openLeftMenu and openRightMenu manually. Fix after call openLeftMenu(false) and openRightmenu(false), the target menu has no display. Added demo to show how to use an alternate way to implement long press to open menu.

2.1.1

2 years ago

Fix #17 优化Parallax Designer的行为

2.1.0

2 years ago

Fix #15 添加一个新的字段swipeFlags,可以更细化的控制菜单的可滑动方向,但是隐藏了原有的swipeEnable字段。如果在之前版本中使用swipeEnable字段来禁用菜单的滑动,迁移到当前版本需要修改下代码。

  • swipeEnable = true => swipeFlags = SwipeLayout.LEFT or SwipeLayout.RIGHT
  • swipeEnable = false => swipeFlags = 0

接下来可能需要添加START和END的flags以适配RTL

2.0.2

2 years ago

Fix #12 修复与ViewPage2一起使用时侧滑菜单失效的问题。

2.0.1

2 years ago

Fix #9 修复SwipeLayout设置margin后右侧菜单无法正常开启的情况。

2.0.0

2 years ago

使用Kotlin完全重构,不兼容 1.x 版本。

对比 1.x 版本:

更完善的监听机制 优化了事件分发,不影响RecyclerView的多点触控功能 提供Desinger接口以便于自定义菜单样式

1.1.4

4 years ago

迁移到androidx,支持开启菜单的情况下打开其他菜单或滑动,并提供布局预览属性