public abstract class


extends Object
implements Adapter
   ↳ greendroid.widget.PagedAdapter

Class Overview

The base implementation of an Adapter to use with a PagedView. Clients may create classes that extends from this base implementation. The work consists on overriding the getCount() and getView(int, View, ViewGroup) methods.


Inherited Constants
From interface android.widget.Adapter
Public Constructors
Public Methods
abstract int getCount()
abstract Object getItem(int position)
abstract long getItemId(int position)
final int getItemViewType(int position)
abstract View getView(int position, View convertView, ViewGroup parent)
final int getViewTypeCount()
boolean hasStableIds()
final boolean isEmpty()
void notifyDataSetChanged()
void registerDataSetObserver(DataSetObserver observer)
void unregisterDataSetObserver(DataSetObserver observer)
Inherited Methods
From class java.lang.Object
From interface android.widget.Adapter

Public Constructors

public PagedAdapter ()

Public Methods

public abstract int getCount ()

public abstract Object getItem (int position)

public abstract long getItemId (int position)

public final int getItemViewType (int position)

public abstract View getView (int position, View convertView, ViewGroup parent)

public final int getViewTypeCount ()

public boolean hasStableIds ()

public final boolean isEmpty ()

public void notifyDataSetChanged ()

public void registerDataSetObserver (DataSetObserver observer)

public void unregisterDataSetObserver (DataSetObserver observer)