Git Product home page Git Product logo

Comments (1)

YoKeyword avatar YoKeyword commented on May 29, 2024

@Andrew-Shi 是用的Fragmentation-swipeback库里的滑动退出是吧~
因为DEMO里的界面是全屏都可以点击(其实是为了说明 库解决了事件冲突),实际app中我们页面很少有这样的情况,Demo中有个页面是RecyclerView页面,你可以发现这个页面不容易误操作;
SwipeBackLayout那个库,包括使用该库的简书、SF等app其实都没刻意控制这个滑动操作,真实app下,应该是很少发现误操作的,当然这块你也是可以通过自己处理touch事件完全解决该问题,不过好像没有必要 :)

from fragmentation.

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.