What I've done in the past is use a single layout that has all the possible views, which I set visible, invisible or gone depending on context. That should work well with ListView since you can customize the row, including visibility of widgets, in your getView() or bindView () method.
On Apr 20, 5:07 pm, AusR <austinjr...@gmail.com> wrote: > Hi, > > Does anyone have any pointers on developing a listview where the > layout of the rows of a listview are dependent on some to-be- > downloaded data. > For example. the rows will detail a time table, so the downloaded > items for each row will be a days worth of classes. But then the row > will have multiple TextViews (Clickable) and they will be set as width > = duration of class. > > Therefore the textviews will be of differing number and widths for > each row only known after download. > > I will be using a custom horizontal fling on the listview to scroll to > different periods of the day. > > Thanks for any pointers. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---