public class

SubtextItemView

extends LinearLayout
implements ItemView
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.LinearLayout
         ↳ greendroid.widget.itemview.SubtextItemView

Class Overview

View representation of the SubtextItem.

Summary

[Expand]
Inherited Constants
From class android.widget.LinearLayout
From class android.view.ViewGroup
From class android.view.View
Public Constructors
SubtextItemView(Context context)
SubtextItemView(Context context, AttributeSet attrs)
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.LinearLayout
From class android.view.ViewGroup
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.ViewManager
From interface android.view.ViewParent
From interface android.view.accessibility.AccessibilityEventSource
From interface greendroid.widget.itemview.ItemView

Public Constructors

public SubtextItemView (Context context)

public SubtextItemView (Context context, AttributeSet attrs)

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