Google 致力于为黑人社区推动种族平等。查看具体举措

OnChildLaidOutListener

public interface OnChildLaidOutListener

androidx.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

public 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.

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.