public class

TextItemView

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

Class Overview

View representation of the TextItem.

Summary

[Expand]
Inherited Constants
From class android.view.View
Public Constructors
TextItemView(Context context)
TextItemView(Context context, AttributeSet attrs)
TextItemView(Context context, AttributeSet attrs, int defStyle)
Public Methods
void prepareItemView()
Called by the ItemAdapter the first time the ItemView is created.
void setObject(Item object)
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 TextItemView (Context context)

public TextItemView (Context context, AttributeSet attrs)

public TextItemView (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 object)

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
object The Item containing date used to populate this ItemView