Android APIs
public interface

OnChildSelectedListener

android.support.v17.leanback.widget.OnChildSelectedListener

Class Overview

Interface definition for a callback to be invoked when a child of this viewgroup has been selected.

Summary

Public Methods
abstract void onChildSelected(ViewGroup parent, View view, int position, long id)
Callback method to be invoked when a child of this viewgroup has been selected.

Public Methods

public abstract void onChildSelected (ViewGroup parent, View view, int position, long id)

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

This method may be called during layout, so implementations of this interface need to be careful not to ... (todo).

Parameters
parent The ViewGroup where the selection happened.
view The view within the ViewGroup that is selected, or null if no view is selected.
position The position of the view in the adapter, or NO_POSITION if no view is selected.
id The id of the child that is selected, or NO_ID if no view is selected.