public interface

ItemView

greendroid.widget.itemview.ItemView
Known Indirect Subclasses

Class Overview

An ItemView defines several methods necessary to the ItemAdapter in order to process Items.

When developing your own ItemViews, make sure they all implement this interface.

Summary

Public Methods
abstract void prepareItemView()
Called by the ItemAdapter the first time the ItemView is created.
abstract void setObject(Item item)
Called by the ItemAdapter whenever an ItemView is displayed on screen.

Public Methods

public abstract void prepareItemView ()

Called by the ItemAdapter the first time the ItemView is created. This is usually a good time to keep references on sub-Views.

public abstract void setObject (Item item)

Called by the ItemAdapter whenever an ItemView is displayed on screen. This may occur at the first display time or when the ItemView is reused by the ListView.

Parameters
item The Item containing date used to populate this ItemView