public class

DescriptionItemView

extends TextView
implements ItemView
java.lang.Object
   ↳ android.view.View
     ↳ android.widget.TextView
       ↳ greendroid.widget.itemview.DescriptionItemView

Class Overview

View representation of the DescriptionItem.

Summary

[Expand]
Inherited Constants
From class android.view.View
Public Constructors
DescriptionItemView(Context context)
DescriptionItemView(Context context, AttributeSet attrs)
DescriptionItemView(Context context, AttributeSet attrs, int defStyle)
Public Methods
void prepareItemView()
Called by the ItemAdapter the first time the ItemView is created.
void setObject(Item item)
Called by the ItemAdapter whenever an ItemView is displayed on screen.
[Expand]
Inherited Methods
From class android.widget.TextView
From class android.view.View
From class java.lang.Object
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.ViewTreeObserver.OnPreDrawListener
From interface android.view.accessibility.AccessibilityEventSource
From interface greendroid.widget.itemview.ItemView

Public Constructors

public DescriptionItemView (Context context)

public DescriptionItemView (Context context, AttributeSet attrs)

public DescriptionItemView (Context context, AttributeSet attrs, int defStyle)

Public Methods

public 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 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