Comments (4)
当某一项的侧滑菜单打开时,点击其他项会关闭该菜单,但是点击它本身却不会?
这个问题你从实际考虑,以及QQ的交互,都是点击本身不关闭的。
关于第二个问题,本控件的特点就是不和父布局耦合,点击LV的空白处,事件是LV处理,本控件无法获知,不过你有兴趣的可以自己定制解决一下,加一个回调接口即可,但是我个人认为意义不大。
from swipedelmenulayout.
关于第二个问题,我写了个Demo已经更新,拉取最新代码可见。
from swipedelmenulayout.
第二个问题解决了,谢谢啦。
关于第一个问题,我看QQ点击本身是可以关闭的呀,而且我现在有这个需求,可以的话还是希望能指点下怎么解决。
另外,建议侧滑菜单里的宽度不要获取屏幕宽高,用ListView本身的宽度比较好。
像我不是在手机上开发的,ListView只占我屏幕中的一部分而已,早上用了你的控件后一直显示不全,找了好久才发现是宽度默认是屏幕宽度的原因,自己改了下才用上了。
from swipedelmenulayout.
这两个问题都已经修复,感谢你的反馈
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 1
- 可不可以升级下你的项目gradle编译版本
- viewPage中使用recyclerView再使用这个时冲突
- 在RecyclerView中,展开菜单后,在展开另外的item上个菜单可以关闭,但如果点击空白处则没有自动关闭 HOT 5
- 请问怎样同时设置左滑和右滑菜单呢?
- 侧滑点击删除按钮弹出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.