Re: [android-developers] Re: AsyncTask and ProgressDialog
Lee Jarvis wrote:
> This code (kinda) works, the only problem is dismissing the dialog if
> the activity is recreated. I've tried dismissing it if mTaskComplete
> is true but I guess by that time it's lost reference to the
> ProgressDialog.
You may need to dismiss the dialog in onDestroy() and reopen it in
onCreate(), if the flag is true.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android App Developer Books: http://commonsware.com/books
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home