You don't -have- to derive from ListActivity, that class is just a
convenience for the common case when an activity contains a list.  You can
just use a regular Activity and put a list in its content view hierarchy if
you want.

On Thu, Jan 22, 2009 at 5:02 AM, Nico <nicolas.d...@gmail.com> wrote:

>
> Hi,
> I have a main class derived from Activity, I need a ListActivity
> (displayed when the "menu" button is clicked).
> How can I proceed. I don't understand how I can switch from one to the
> other ?
> Thx
> >
>


-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

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