-1

I am facing some problem in understanding the terminologies and their uses.

I would like to know what adapter means, what is the use of it and where will it be used? Please provide a simple explanation.

Also, I would like to load images plus text over listview, how do I achieve that? Imagine I have a huge set of elements present in a database, how do I load them faster over List?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Naruto
  • 9,476
  • 37
  • 118
  • 201

1 Answers1

1

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.

An AdapterView is a view whose children are determined by an Adapter.

Some examples of AdapterViews are ListView, GridView, Spinner and Gallery.

Binding to Data with AdapterView

For different types of Adapters look at the blog ertry Android Adapters: an introduction

Also highly recommended is the Google I/O presentation given by Romain Guy.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
user370305
  • 108,599
  • 23
  • 164
  • 151
  • 1
    For loading lots of images in list [Android - How do I do a lazy load of images in ListView](http://stackoverflow.com/questions/541966/android-how-do-i-do-a-lazy-load-of-images-in-listview) – user370305 Apr 21 '12 at 09:14