Comments (4)
解决了。。。监听锚点VIEW是否重绘完成,若完成更改flag.重绘完成情况下直接调用,未完成延迟调用。虽然有风险。先这样吧。。。
from basepopup.
请问一下你现在用的版本是多少
在1.8.5.1之后,其实我在showPopup已经做了文章
您可以看看源码这里
BasePopup第512行
我针对BadTokenException进行过reTry,重试次数最高3次,每次延迟350ms。
不过还真没针对WindowLeak,因为WindowLeak一般是因为popup已经show,没有dismiss导致的
from basepopup.
最新版本。主要是我这个回调函数速度快于activity启动速度导致的吧。没有深入研究。。O(∩_∩)O
from basepopup.
好的,我试试按照你的代码复现,然后尝试修复
from basepopup.
Related Issues (20)
- 华为的底部导航条沉浸式失效
- ContentView区域的背景上如何支持事件穿透? HOT 1
- setOutSideTouchable(true)后事件并没有穿透 HOT 4
- 安卓12默认支持Background blur以及Blur behind,希望可以适配一下 HOT 1
- 弹窗背景触摸后透明 HOT 1
- 华为平板(平行世界模式)状态栏无法覆盖问题 HOT 1
- 希望加上弹性动画 HOT 1
- 各位大佬,有没有办法拿到栈顶activity的dialog对象呢? HOT 1
- 使用showPopupWindow(view)的方式显示,动画效果无效 HOT 1
- 希望可以支持Jetpack Startup HOT 1
- 当Context是Activity的时候找不到DecorView HOT 1
- 隐藏导航栏+ 任意位置显示: 弹窗无法放到最低,底部永远留着一个导航栏的高度 HOT 2
- 3.2.1版本maven仓库缺少源码 HOT 2
- 使用hideKeyboardOnShow(false)设置弹窗时不收起键盘不生效
- java.lang.ClassCastException: razerdp.basepopup.WindowManagerProxy cannot be cast to android.view.WindowManagerImpl HOT 3
- java.lang.NullPointerException
- popup抢占了焦点。
- jetpack compose
- java.lang.NullPointerException 空指针异常
- 弹窗的Animator动画属性复原问题 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from basepopup.