Activity has leaked window?
问题 I am having one java class in that class as soon some one purchases our application then it will start downloading and progress dialog has to appear instead it goes to some other page and when i come out of the application and when i restart then it starts downloading. Please Help me out from this mess... Thank you 回答1: Check the condition for dialog, before showing. Like this if(pDialog!=null) { if(!pDialog.isShowing()) { pDialog.show(); } } and also while removing the dialog in