Tuesday, 5 June 2012

Android listview (cont....)

Firstly my apologies for such delay in publishing the next part of listview and adapter.
Now that we know what the listview is basically used for.Here. We will get acquainted with adapters

Adapters are basically subclasses BaseAdapter or its subclass.they provide incredible flexibility once you understand how it is being used.

Below is the summary how the adapters work

1. Create a layout that you want each of column to have

2. provide data as a cursor or collections of objects that you want the list to have That's it there is nothing else that you need to have