You don't make a ListView-in-a-ListView, because that is impossible. The classic solution is to have a ListActivity of authors, where tapping on an author brings up another ListActivity of books by that author.
On Wed, Apr 13, 2011 at 6:45 AM, Matzounet <[email protected]> wrote: > Hello, > > I am trying to make a kind of library representing in a first list the > authors and in a sublist their books. All these authors and books come > from xml files, an then all the books are linked to a pdf to read > them. > > I do not wish to use an ExpandableList, because I don't want all the > author to remain visible when I click on the first list, I just want > to see the second list. > > My problem is that I don't know how to make the listview within the > listview, do I have to create an activity for each author ? And how > are the author linked to their books ? > > > Thanks, sorry for my English > > -- > 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 > -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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

