fun() has to run in a thread seperate from the UI thread and then you can do what you want by posting messages back to the UI thread.
On Apr 26, 7:27 pm, Hafiz Ubaidullah <[email protected]> wrote: > I have a function as follow > > void fun(){ > blah > blah > TextView.setText("Hello World"); > blah > blah > > } > > the change in TextView gets reflected when function execution has > finished but i want to reflect changes immediately.Is there any way ? > i have tried Thread and Looper.prepare but no use.... -- 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

