Coder Social home page Coder Social logo

android.view.WindowLeaked about basepopup HOT 4 CLOSED

razerdp avatar razerdp commented on June 2, 2024
android.view.WindowLeaked

from basepopup.

Comments (4)

lapDog avatar lapDog commented on June 2, 2024

image
解决了。。。监听锚点VIEW是否重绘完成,若完成更改flag.重绘完成情况下直接调用,未完成延迟调用。虽然有风险。先这样吧。。。

from basepopup.

razerdp avatar razerdp commented on June 2, 2024

@lapDog

请问一下你现在用的版本是多少

在1.8.5.1之后,其实我在showPopup已经做了文章

您可以看看源码这里

BasePopup第512行

我针对BadTokenException进行过reTry,重试次数最高3次,每次延迟350ms。

不过还真没针对WindowLeak,因为WindowLeak一般是因为popup已经show,没有dismiss导致的

from basepopup.

lapDog avatar lapDog commented on June 2, 2024

最新版本。主要是我这个回调函数速度快于activity启动速度导致的吧。没有深入研究。。O(∩_∩)O

from basepopup.

razerdp avatar razerdp commented on June 2, 2024

好的,我试试按照你的代码复现,然后尝试修复

from basepopup.

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.