Alert Dialog in non activity class

前端 未结 4 2207
南旧
南旧 2021-01-26 02:37

I have a code which checks some data and shows an alert in a non activity class. But while running application program crashed and does not showing alert dialog. I used below

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-26 03:24

    Are you sure, the dialog is the problem? What is at line 36 of your Splash.java file? Because according to the stacktrace, there's the problem.

提交回复
热议问题