Hi You can do the same by extending BaseAdapter and simply override the methods like getCount, getItem , getView etc,, The getView method gets called for each List item.You only need to create and return the list item from here. Hope this helps Cheers
On Jul 2, 6:45 pm, ayanir <[email protected]> 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 [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 -~----------~----~----~----~------~----~------~--~---

