On Mon, Oct 10, 2011 at 2:55 PM, aimee daniells <
aimeedanie...@googlemail.com> wrote:

> I feel these should each be in a ListView within the flipper, but i don't
> know how to add more than one ListView at runtime. I only know how to make
> one ListView by making the activity inherit from ListActivity and setting a
> ListAdapter.


There's nothing special about ListView - you can create one like any other
object.
ListView lv = new ListView(this);  // Where "this" is the current Activity.
viewFlipper.addView(lv);

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

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

Reply via email to