thank for reply... but does handler can use with progressdialog??
thanks! On 8月20日, 下午4時35分, Saurav Mukherjee <to.saurav.mukher...@gmail.com> wrote: > use a Handler object... > > Handler uiHandler=new Handler(); > > then inside ur funcion: > uiHandler.post(new Runnable(){ > void run(){ > <here u can change components in the ui thread.> > > > > } > }); > On Thu, Aug 20, 2009 at 1:12 PM, tstanly <tsai.sta...@gmail.com> wrote: > > > hi all, > > > I was define a new thread for a task, > > but when task is complete, I must to refresh my listview, > > however I will get the error for just can use main thread to change > > view, > > > so, any idea for it?? > > > thanks!!- 隱藏被引用文字 - > > - 顯示被引用文字 - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---