Sofia API Reference

  • Package Index
  • Class Index
  • Packages
  • sofia.app
  • sofia.content
  • sofia.data
  • sofia.graphics
  • sofia.util
  • sofia.view
  • sofia.widget
    • Classes
    • AutoCompleteTextView
    • DecoratingAdapter
    • ListView
    • Spinner
    • Annotations
    • ProvidesSubtitle
    • ProvidesTitle

public class
DecoratingAdapter

extends BaseAdapter

Inheritance

  • java.lang.Object
    • 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

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)
Methods inherited from class java.lang.Object
Object clone()
boolean equals(Object arg0)
void finalize()
final Class<?> getClass()
int hashCode()
final void notify()
final void notifyAll()
String toString()
final void wait()
final void wait(long arg0, int arg1)
final void wait(long arg0)

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)