public class

DecoratingAdapter

extends BaseAdapter
implements Filterable
java.lang.Object
   ↳ android.widget.BaseAdapter
     ↳ sofia.widget.DecoratingAdapter<E>

Class Overview

An adapter that uses decoration through annotations to display elements in a list view or spinner. This class is used internally by widgets like ListView and Spinner, so most users won't need to use this class directly unless they want to add Sofia-like decoration features to other widgets that aren't yet supported.

Summary

[Expand]
Inherited Constants
From interface android.widget.Adapter
Public Constructors
DecoratingAdapter(Context context, int defaultViewResId, List<E> list)
Public Methods
int getCount()
View getDropDownView(int position, View convertView, ViewGroup parent)
Filter getFilter()
E getItem(int position)
long getItemId(int position)
View getView(int position, View convertView, ViewGroup parent)
[Expand]
Inherited Methods
From class android.widget.BaseAdapter
From class java.lang.Object
From interface android.widget.Adapter
From interface android.widget.Filterable
From interface android.widget.ListAdapter
From interface android.widget.SpinnerAdapter

Public Constructors

public DecoratingAdapter (Context context, int defaultViewResId, List<E> list)

Public Methods

public int getCount ()

public View getDropDownView (int position, View convertView, ViewGroup parent)

public Filter getFilter ()

public E getItem (int position)

public long getItemId (int position)

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