Android APIs
public static class

GuidedActionsStylist.ViewHolder

extends Object
java.lang.Object
   ↳ android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder

Class Overview

ViewHolder caches information about the action item layouts' subviews. Subclasses of GuidedActionsStylist may also wish to subclass this in order to add fields.

See Also

Summary

Fields
public final View view
Public Constructors
GuidedActionsStylist.ViewHolder(View v)
Constructs an ViewHolder and caches the relevant subviews.
Public Methods
ImageView getCheckmarkView()
Returns the checkmark view within this view holder's view.
ImageView getChevronView()
Returns the chevron view within this view holder's view.
View getContentView()
Returns the content view within this view holder's view, where title and description are shown.
TextView getDescriptionView()
Returns the description view within this view holder's view.
ImageView getIconView()
Returns the icon view within this view holder's view.
TextView getTitleView()
Returns the title view within this view holder's view.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public final View view

Public Constructors

public GuidedActionsStylist.ViewHolder (View v)

Constructs an ViewHolder and caches the relevant subviews.

Public Methods

public ImageView getCheckmarkView ()

Returns the checkmark view within this view holder's view.

public ImageView getChevronView ()

Returns the chevron view within this view holder's view.

public View getContentView ()

Returns the content view within this view holder's view, where title and description are shown.

public TextView getDescriptionView ()

Returns the description view within this view holder's view.

public ImageView getIconView ()

Returns the icon view within this view holder's view.

public TextView getTitleView ()

Returns the title view within this view holder's view.