Nico wrote: > I did it : > > // Create a thread to change the view > final Grid f_grid = grid; > Runnable mainThreadRunnable = new Runnable() { > public void run() { > m_activity.setContentView(f_grid); > } > }; > // Run the thread > m_activity.runOnUiThread(mainThreadRunnable);
That should work fine, AFAIK. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training in Sweden -- http://www.sotrium.com/training.php --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---