Comments (5)
在历史issues中看到了解决方法
from swipedelmenulayout.
@plain-dev 这个点击空白区域怎么关闭已经打开的侧滑呢 我没找见方法
from swipedelmenulayout.
方法如下
//点击RecyclerView的空白区域时关闭菜单
@OnTouch(R.id.list)
public boolean cancelSwipeMenuLayout(View view, MotionEvent event) {
if (event.getAction() == MotionEvent.ACTION_UP) {
SwipeMenuLayout viewCache = SwipeMenuLayout.getViewCache();
if (null != viewCache) {
viewCache.smoothClose();
}
}
return false;
}
from swipedelmenulayout.
感谢 原来每个地方都要这么添加啊
from swipedelmenulayout.
@zhupengxiang 是的,每个list中
from swipedelmenulayout.
Related Issues (20)
- 如何解决在滑动列表时容易滑动侧滑 HOT 4
- setSwipeEnable HOT 1
- recyclerview里面测试如果一个条目显示过删除然后关闭 快速下滑会出现删除项的影子 HOT 1
- RecyclerView嵌套ListView,滑动在ListView中,ListView设置点击事件无效
- ListView 滑动后,然后下拉,会出现很多个侧滑菜单 HOT 2
- Binary XML file line #27: Error inflating class <unknown>
- 可不可以提供一个判断当前菜单是否是打开的方法
- ERROR: Failed to resolve: com.github.mcxtzhang:SwipeDelMenuLayout:V1.3.0 HOT 2
- 可不可以升级下你的项目gradle编译版本
- viewPage中使用recyclerView再使用这个时冲突
- 请问怎样同时设置左滑和右滑菜单呢?
- 侧滑点击删除按钮弹出Dialog后,contentView向右回弹出现重叠 HOT 1
- recycleview侧滑问题
- 麻烦问一下 如何点击button后怎么回弹
- 点击了按钮以后,自动隐藏按钮 HOT 1
- 和RecycleView的拖动排序由冲突,RecycleView的拖动排序本来是长按拖动的,但是用这个控件侧滑删除后会导致自动拖动下一个Item。
- 不能下载了吗
- 可以提供下liscense吗
- jitpack.io HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swipedelmenulayout.