public class

LongTextItemView

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

Class Overview

View representation of the LongTextItem.

Summary

[Expand]
Inherited Constants
From class android.view.View
Public Constructors
LongTextItemView(Context context)
LongTextItemView(Context context, AttributeSet attrs)
LongTextItemView(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 LongTextItemView (Context context)

public LongTextItemView (Context context, AttributeSet attrs)

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