Google 致力于为黑人社区推动种族平等。查看具体举措
added in version 22.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1

OnChildLaidOutListener

public interface OnChildLaidOutListener

android.support.v17.leanback.widget.OnChildLaidOutListener


Interface for receiving notification when a child of this ViewGroup has been laid out.

Summary

Public methods

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

Callback method to be invoked when a child of this ViewGroup has been added to the view hierarchy and has been laid out.

Public methods

onChildLaidOut

added in version 22.1.0
void onChildLaidOut (ViewGroup parent, 
                View view, 
                int position, 
                long id)

Callback method to be invoked when a child of this ViewGroup has been added to the view hierarchy and has been laid out.

Parameters
parent ViewGroup: The ViewGroup where the layout happened.

view View: The view within the ViewGroup that was laid out.

position int: The position of the view in the adapter.

id long: The id of the child.