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 <[email protected]> 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
[email protected]

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