Is there a super simple List / ListAdapter example out there for android
- by slim
I have a web service that returns a super simple list of objects
MyObject[] data = webServiceCall();
MyObject has 1 field i want to display, "Name" (i.e. data[0].Name )
How can i turn this into an activity that lists just the name of these objects in a scrollable listActivity in android. I am getting really confused with Cursors and am not sure if I need Cursors and I"m not sure what kind of adapter to implement (baseAdapter, SimpleAdapter etc)
So i guess i'm looking for three things,
the activity , the adapter and the layout.xml
Just trying to figure this android stuff out, definately a noob here