is there anyone? On Tue, Nov 8, 2011 at 2:52 PM, Hitendrasinh Gohil <hitendrasin...@gmail.com > wrote:
> Hi, > > I am updating my UI from background thread. > > If i go to other activity while the request has already been sent to > server then it creates problem for me. > > Activity1 and Activity2 are there. > > I am on activity1 and it refreshes every 10sec.now suppose the > request has been sent to server but didnt get response in between i > just moved to activity2 and finishing activity1. > So the background thread try to update the UI of an activity that has > already finished. > > I can set boolean flag for it.But apart from this patch is there any > good idea to prevent this. > > > -- > 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 -- regards, Hitendrasinh Gohil -- 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