Transcript of "List adapter with multiple objects"

1.
Disclaimer:This presentation is prepared by trainees ofbaabtra as a part of mentoring program. This is not officialdocument of baabtra –Mentoring PartnerBaabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt .Ltd

3.
What is an adapter in android?• An Adapter object acts as a bridge between an AdapterView and the underlying data for that view.• The Adapter provides access to the data items.• The Adapter is also responsible for making a View for each item in the data set.

4.
What is AdapterView Class?• The AdapterView is a child class of ViewGroup> A special kind of container of view objects (list items)• Typically you are going to use subsclasses of AdapterView class instead of using it directly• Example subclasses of AdapterView class> ListView> Spinner> Gallery• An AdapterView access the data through Adapter object Instead of accessing data directly itself

5.
ListView• ListView is a view group that displays a list of scrollable items. The list items are automatically inserted to the list using an Adapter that pulls content from a source such as an array or database query and converts each item result into a view thats placed into the list.