为什么 Dialog 不能用 Application 的 Context
抛出的异常:
Caused by: android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application
at android.view.ViewRootImpl.setView(ViewRootImpl.java:685)
at android.view...
原创
2020-04-05 10:44:10 ·
335 阅读 ·
0 评论