Got it working - I had one operation that was NOT on the UI thread.
Once I fixed that it worked fine.

On Nov 28, 5:05 pm, jotobjects <[email protected]> wrote:
> I have some code like this that is not working.  The Views seemd to be
> added but they do not display.  Any ideas on what is wrong here?
>
>         ViewFlipper viewFlipper =
> (ViewFlipper)dashboardView.getTag(R.id.foobar);
>         viewFlipper.stopFlipping();
>         viewFlipper.removeAllViews();
>             for (MyType n: myMap.values()) {
>                 viewFlipper.addView(generateView(n));
>             }
>         viewFlipper.invalidate();
>         viewFlipper.startFlipping();

-- 
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