Thx a lot for help.

On 21 jan, 16:02, Mark Murphy <[email protected]> wrote:
> 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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to