A setDialog() method in your subclass, just to throw out an idea. Or lazy initialization in onProgressUpdate.....
Or create the dialog in onPreExecute rather than outside the task.... 16 января 2012 г. 23:44 пользователь John-Marc Desmarais <[email protected]> написал: > How do I pass my Dialog to onPreExecute? > > -jm > > 2012/1/16 Kostya Vasilyev <[email protected]>: >> ... and this: >> >> textViewAuthenticating = (TextView) >> dialog.findViewById(R.id.TextViewAuthentication); >> >> belongs in onPreExecute, or elsewhere on the UI thread, *not* in >> doInBackground. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

