Code Monkey home page Code Monkey logo

Comments (4)

mcxtzhang avatar mcxtzhang commented on May 28, 2024

当某一项的侧滑菜单打开时,点击其他项会关闭该菜单,但是点击它本身却不会?
这个问题你从实际考虑,以及QQ的交互,都是点击本身不关闭的。
关于第二个问题,本控件的特点就是不和父布局耦合,点击LV的空白处,事件是LV处理,本控件无法获知,不过你有兴趣的可以自己定制解决一下,加一个回调接口即可,但是我个人认为意义不大。

from swipedelmenulayout.

mcxtzhang avatar mcxtzhang commented on May 28, 2024

关于第二个问题,我写了个Demo已经更新,拉取最新代码可见。

from swipedelmenulayout.

lfh1991 avatar lfh1991 commented on May 28, 2024

第二个问题解决了,谢谢啦。
关于第一个问题,我看QQ点击本身是可以关闭的呀,而且我现在有这个需求,可以的话还是希望能指点下怎么解决。
另外,建议侧滑菜单里的宽度不要获取屏幕宽高,用ListView本身的宽度比较好。
像我不是在手机上开发的,ListView只占我屏幕中的一部分而已,早上用了你的控件后一直显示不全,找了好久才发现是宽度默认是屏幕宽度的原因,自己改了下才用上了。

from swipedelmenulayout.

mcxtzhang avatar mcxtzhang commented on May 28, 2024

这两个问题都已经修复,感谢你的反馈

from swipedelmenulayout.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.