Most visited

Recently visited

LeanbackListPreferenceDialogFragment.ViewHolder

public static class LeanbackListPreferenceDialogFragment.ViewHolder
extends RecyclerView.ViewHolder implements View.OnClickListener

java.lang.Object
   ↳ android.support.v7.widget.RecyclerView.ViewHolder
     ↳ android.support.v17.preference.LeanbackListPreferenceDialogFragment.ViewHolder


Summary

Nested classes

interface LeanbackListPreferenceDialogFragment.ViewHolder.OnItemClickListener

 

Inherited fields

From class android.support.v7.widget.RecyclerView.ViewHolder

Public constructors

LeanbackListPreferenceDialogFragment.ViewHolder(View view, LeanbackListPreferenceDialogFragment.ViewHolder.OnItemClickListener listener)

Public methods

ViewGroup getContainer()
TextView getTitleView()
Checkable getWidgetView()
void onClick(View v)

当点击一个视图时调用。

Inherited methods

From class android.support.v7.widget.RecyclerView.ViewHolder
From class java.lang.Object
From interface android.view.View.OnClickListener

Public constructors

LeanbackListPreferenceDialogFragment.ViewHolder

LeanbackListPreferenceDialogFragment.ViewHolder (View view, 
                LeanbackListPreferenceDialogFragment.ViewHolder.OnItemClickListener listener)

Parameters
view View
listener LeanbackListPreferenceDialogFragment.ViewHolder.OnItemClickListener

Public methods

getContainer

ViewGroup getContainer ()

Returns
ViewGroup

getTitleView

TextView getTitleView ()

Returns
TextView

getWidgetView

Checkable getWidgetView ()

Returns
Checkable

onClick

void onClick (View v)

当点击一个视图时调用。

Parameters
v View: The view that was clicked.

Hooray!