Well when i rotate, either while the thread is started or after the screen data is refreshed it goes back to the fields having not been filled. but the thread does run because if i dont rotate the UI views are filled with the content i fetch from the server.
regards, On Mon, Oct 3, 2011 at 10:30 PM, TreKing <treking...@gmail.com> wrote: > On Mon, Oct 3, 2011 at 12:25 PM, Bluemercury <joao.ro...@gmail.com> wrote: > >> Hi! im using an Async-Task and currently im using runOnUiThread in the >> doInBackground method to refresh activities UI, this seems to be working but >> on rotation it loses the data > > > Can you elaborate on "it loses the data"? > > > ------------------------------------------------------------------------------------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices > > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en