OnChildViewHolderSelectedListener

public abstract class OnChildViewHolderSelectedListener
extends Object

java.lang.Object
   ↳ androidx.leanback.widget.OnChildViewHolderSelectedListener


Interface for receiving notification when a child of this ViewGroup has been selected. There are two methods:

Summary

Public constructors

OnChildViewHolderSelectedListener()

Public methods

void onChildViewHolderSelected(RecyclerView parent, RecyclerView.ViewHolder child, int position, int subposition)

Callback method to be invoked when a child of this ViewGroup has been selected.

void onChildViewHolderSelectedAndPositioned(RecyclerView parent, RecyclerView.ViewHolder child, int position, int subposition)

Callback method to be invoked when a child of this ViewGroup has been selected and positioned.

Inherited methods

Public constructors

OnChildViewHolderSelectedListener

public OnChildViewHolderSelectedListener ()

Public methods