Dory
Dory

Reputation: 7582

Creating custom list or grid view

While creating custom list / grid view I know custom adapters are to be created. I am confused on when to use Array Adapter / Base Adapter in creating custom views.

Upvotes: 4

Views: 469

Answers (1)

Shiv
Shiv

Reputation: 4567

For Android Custom ListView with Image and Text you Can refer this tutorial http://www.androidhive.info/2012/02/android-custom-listview-with-image-and-text/

if you get any problem you can ask here ...

Basically

ListAdapter

Extended Adapter that is the bridge between a ListView and the data that backs the list.

BaseAdaper

Common base class of common implementation for an Adapter that can be used in both ListView (by implementing the specialized ListAdapter interface} and Spinner (by implementing the specialized SpinnerAdapter interface.

ArrayAdapter

A concrete BaseAdapter that is backed by an array of arbitrary objects.

Refer below links

ListAdapter

BaseAdapter

ArrayAdapter

Upvotes: 1

Related Questions