Probably the best write-up I've seen about this:

http://android.amberfog.com/?p=296

--
Kostya Vasilyev -- http://kmansoft.wordpress.com
13.02.2011 1:26 пользователь "AndroidDevTime" <[email protected]>
написал:
> Could some explain in detail how it is possible to have a ListView
> where each item in the list is rendered by its type and has different
> layout.
>
>
> So to clarify if i have ten rows they will all have the same layout if
> they are each the same type of record like non-fiction book.
>
> If have of the books in the list are audio books I will have an audio
> type layout just for displaying that type of book. How to dynamically
> assign row layout to item in a row based on its type, type field or
> some other criterial.
>
> Thanks
>
> --
> 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

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