Saturday, January 26, 2013

[android-developers] AlertDialog and AsyncTask

I have an AlertDialog with some controls.

As the text changes in one of the EditView controls, I
launch an AsyncTask to do some background work and
then post the results in a different UI control.

Is it possible byt the time the AlertDialog finishes that the
AlertDialog is closed - i.e. ui control no longer valid.

Or will the AsyncTask close automatically if the AlertDialog
is closed.

how can i tell if the AlertDialog is shown or no longer active.


--
--
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
 
 

No comments:

Post a Comment