SwipeMenu
SwipeMenu copied to clipboard
[DEPRECATED] A swipe menu for horizontal/vertical, support left/right and top/bottom directions
How to detect if its on the bottom
setSwipeEnable(false),依然可以快速滑动出菜单,慢速不行,但是快速划过,菜单还是会出来。
Swipe left one item in recycler and then try to swipe other item, the second item needed to be swiped twice, ideally Swipe left/right for multiple items is closing the...
发现了几个问题。
首先很感谢分享,项目做的真的不错。然后再使用过程中发现了几个问题,希望有时间可以考虑更新一下~~~ 1、滑动打开删除时,不松开ITEM,引起的问题: 1) 另一个手指再滑动任意的条目,可以打开第二条目,第三条目等,这时松开,点击其他条目,只关闭一个条目。 2) 不松开会直接触发长按监听,是不是后面可以加入不触发长按监听了。(我目前的做法是调用setSwipeFractionListener当中的endMenuSwipeFraction监听,当fraction等于0的时候,才会触发长按监听。不过这个做法会引起一个问题,也是不松开的问题,就是说当触发长按弹出dialog以后,不松开,还是可以左右滑动。然后我加了一个holder.sml.setSwipeEnable(false); ,在MotionEvent.ACTION_UP:的时候,变成true,问题解决了,但是好麻烦。)。 2、往下随便滑动到某个位置,然后左滑打开一个删除,以下操作会引起删除的那行条目错位: 1) 这时条目进行更新了。 2) 跳转到其他页面,然后返回。 3、begin的一些监听没有调用到,close的调用到了。例如beginMenuClosed,beginMenuOpened,beginMenuSwipeFraction等,都没有调用到。
How can I set menu item height = "match_parent" ? Is it possible? Because in demo items have fixed height. I have not fixed height items (with different height) and...
左边一个TextView,一行显示,超出一行用...结尾,右边可以滑出一个删除按钮; 问题描叙:当TextView的长度可以一行显示时,删除按钮可以正常滑出;一行显示不下时,删除按钮无法滑出。
Is it possible to use Recycleriew SwipeMenu with a fragment? Thanx