How many types of Array Adapter are there in android How and where i can use?

Add Comment
1 Answer(s)

Adapters in Android are a bridge between the Adapter View (e.g. ListView) and the underlying data for that view.Imagine what would have been the world without adapters!

For Eg:

A view that shows items in a vertically scrolling list. The items come from the ListAdapter associated with this view.
ListAdapter defines layout for individual row of the list and provide data to the ListView via setAdapter() method of ListView.
Android provides several standard adapters; the most important are ArrayAdapter and CursorAdapter.
ArrayAdapter can handle data based on Arrays or Lists while SimpleCursorAdapter handle database related data.

Answered on July 5, 2016.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.