try this .. http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/view/List4.java
You should be able to replace the getView with your own xml reader !! -Dan On Tue, Mar 17, 2009 at 7:22 PM, Greg Krimer <[email protected]> wrote: > > Well, I have not seen an example of exactly what you're doing, but > it's pretty easy. Since the data is not in an array or cursor, I would > extend BaseAdapter to create my own adapter for this data to drive the > list view. The data should probably be in some sort of collection that > the adapter can operate on. The adapter's getView() method returns a > view hiarchy for each menu item. (Make sure you make use of the > convertView parameter to avoid creating unnecessary objects.) > > On Mar 16, 8:30 pm, Future <[email protected]> wrote: > > Hello, > > where could I find any examples of rendering XML data in a ListView? > > i.e, the model is read from a XML file, not in an existing array or > > database cursors. > > > > 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 -~----------~----~----~----~------~----~------~--~---

