Giter Site home page Giter Site logo

过滤Activity时失灵 about easyfloat HOT 1 CLOSED

princekin-f avatar princekin-f commented on August 22, 2024
过滤Activity时失灵

from easyfloat.

Comments (1)

princekin-f avatar princekin-f commented on August 22, 2024

你好,感谢反馈:

针对bug1:

  • 浮窗过滤分为两种情况:创建的时候考虑自身是否过滤;切面切换的时候,结合生命周期的判断浮窗的显隐。
  • 由于你在2中,通过EventBus在1中创建浮窗,此时只会检查1是否被过滤;
  • 此时可以在创建完成时,手动调用隐藏,或者想办法创建的时候传入Activity2的实例。

针对bug2:

  • 通过你的描述,应该是2返回1的时候,1没有走onStart回调,不知道你的2是不是透明窗口,或者非全屏的窗口,比如Dialog之类的?
  • 如果无法让1走onStart回调,可以在2返回的时候,手动调一下显示。

from easyfloat.

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.