Okay:

A ListView must have it's height set to fill_parent - the only way to
have multiple ListViews in a single activity is to use something like
Tabs, a ViewFlipper etc, and even then this only really deals with one
visible ListView at a time (or possibly two horizontally).

What you probably want to do is implement a two-tier
ExpandableListView in a similar fashion to the default Android music
player (at least on 2.0+) this lets you have a group item for e.g. for
an album, which when expanded shows all songs in that album.


On Jul 22, 4:11 pm, sagare <[email protected]> wrote:
> Hi All,
>       I am creating a list of albums and each album can have multiple
> songs. So I wanted to is having multiple listviews on a screen ok
> (around 30-35 albums each having their songs) performance wise and
> wont create a problem ?
>     Or i should implement a single list of albums where each item in
> the list displays entire contents of that album including its songs?
> Not sure how much good it is performance wise and from user experience
> point of view ? Also if i go by this approach would each songs in the
> album clickable because as far as i know a complete row in a ListView
> can be clickable and not individual components in a ListRow ? How can
> i go about implementing this ?
>
>     Please let me know the best possible solution to implement this.
> and the approach for this.
>
> Thanks and regards,
> Sagar

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