Progress Dialog crashes in async task

后端 未结 2 1299
走了就别回头了
走了就别回头了 2021-01-26 03:10

As the title says the app crashes when encounters the progress dialog create instruction. The context is passed to async class through constructor.

public class          


        
2条回答
  •  悲&欢浪女
    2021-01-26 03:18

    The problem was found in the passage of the ApplicationContext instead at Activity.

提交回复
热议问题