Git Product home page Git Product logo

Comments (3)

Mr-wangyong avatar Mr-wangyong commented on May 27, 2024 1

由於Fragment創建速度非常快,所有,建議增加click事件攔截,例如5秒鐘之內點擊無效,此框架也支持此功能,謝謝您的支持!!

from fragmentstack.

bennyhuo avatar bennyhuo commented on May 27, 2024

这个问题是因为你没有对 Fragment 的切换操作进行队列处理,另外框架里面的 500ms 的处理是有问题的,上层调用了你的接口,你没有响应也没有反馈,这样外部的代码很容易出现不一致。

实际上如果你不给fragment添加切换动画就没有那么容易触发这类问题,出现这些问题的原因主要是fragment的转场动画播放的时间间隙,这段时间内是不能进行其他涉及到该fragment的操作的,作为一个单Activity的框架,这时候其他fragment从设计上来讲也不应该有操作。

from fragmentstack.

fqclovelal avatar fqclovelal commented on May 27, 2024

问题解决了吗?我也遇到了这个问题

from fragmentstack.

Related Issues (12)

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.