How To add swipe Left to Right in recyclerview

我的梦境 提交于 2021-01-29 14:25:15

问题


I am trying to add swipe function for my recyclerview. I am following this link for adding swipe. https://github.com/nikhilpanju/RecyclerViewEnhanced/blob/master/recyclerviewenhanced/src/main/java/com/nikhilpanju/recyclerviewenhanced/RecyclerTouchListener.java

In this link I can do only Right to left swipe. I want add Left to Right swipe. I tried to add functionality in onInterceptTouchEvent. But I can not do the Left to Right Swipe. Can any one help me to add Left to Right swipe?

来源:https://stackoverflow.com/questions/64366919/how-to-add-swipe-left-to-right-in-recyclerview

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!