android - Difference between Adapter and ArrayAdapter -
in android programming, have basic concept adapter , arrayadapter. understand arrayadapter used following link :
http://developer.android.com/reference/android/widget/arrayadapter.html
and understand adapter used following link :
http://developer.android.com/reference/android/widget/adapter.html
unfortunately, i'm new in android programming, i'm little bit confused concept (about relationship, main purpose , difference).
its arrayadapter derived adapter? if can explain it, great helpful. , sorry bad english :)
adapter
interface, pretty provides skeleton framework of class implements it.
in case, (abstract) baseadapter
class implements adapter
, arrayadapter
extends baseadapter
(you can think of adapter
arrayadapter
s grandparent).
here's more information on interfaces: http://docs.oracle.com/javase/tutorial/java/concepts/interface.html
the difference between interface , abstract class can confusing @ first here's helpful question: interface vs abstract class (general oo)
Comments
Post a Comment