In answer to your 3 questions:
(1) The BaseAdapter , according to the Android documentation, is simply a superclass of several types of adapters, one of which is the ArrayAdapter . There are a number of other BaseAdapter based BaseAdapter that are suitable for a variety of purposes. As a result, there is no difference in performance between them; you just get access to another set of functions / methods with different subclasses.
(2) The effectiveness of your ArrayAdapter depends on the efficiency of what you do inside this class, that is, processing bitmap images and other data.
(3) Perhaps you could find a way to work with your ListView using a different type of adapter, however, the reason the ArrayAdapter works is that it usually makes sense, given that the goal is to create an interactive list. ArrayAdapte takes an Array , usually an ArrayList objects, which it then processes to create supporting information for the ListView . In this sense, setting ArrayList ArrayAdapter ListView just logically makes sense.
Rarw May 28 '13 at 15:57 2013-05-28 15:57
source share