Build a class that extends BaseAdapter, you can customize what u want
here. Then use this class as the adapter for your ListView.

On Jul 2, 8:45 pm, ayanir <ayanir...@gmail.com> wrote:
> Hello for all the Android's out there,
>
> I'm trying to make a ListView when every item in that list can be a
> different type of View.
> for example the list could be:
> 1. TextView
> 2. ImageView
> 3. MyCustomView
>
> I understands that in order to make a list I need to use an Adapter.
> the problem is that the Adapter uses a single layout for all of the
> list items, which will not support the different views.
>
> my goal is to make an abstract View list when I can dynamically add
> and removes items in that list (each item is a View or subclass of
> it).
>
> Thanks
> ayanir
--~--~---------~--~----~------------~-------~--~----~
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