Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

怎么拿到dialog对象实例,然后自己手动在页面销毁的时候dismiss掉 #22

Closed
zzzsssbo opened this issue Nov 8, 2019 · 7 comments

Comments

@zzzsssbo
Copy link

zzzsssbo commented Nov 8, 2019

主动避免 android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@4fe3219 is not valid; is your activity running? 这个问题

@MZCretin
Copy link
Owner

MZCretin commented Nov 8, 2019

你用的是哪个版本?

@zzzsssbo
Copy link
Author

zzzsssbo commented Nov 8, 2019

2.0.3

@MZCretin
Copy link
Owner

MZCretin commented Nov 8, 2019

你是怎么操作的?我排查下,看下什么原因,其实更新页面不是对话框实现的 全部是Activity做的

@zzzsssbo
Copy link
Author

zzzsssbo commented Nov 8, 2019

并不是必现的,很难复现,很小几率出现,我先自定义一个activity试试

@zzzsssbo
Copy link
Author

zzzsssbo commented Nov 8, 2019

image

就是这地方的dialog会导致出现问题

@MZCretin
Copy link
Owner

MZCretin commented Nov 8, 2019

我排查下

@MZCretin
Copy link
Owner

MZCretin commented Nov 8, 2019

@MZCretin MZCretin closed this as completed Nov 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants