The Android Developer Challenge is back! Submit your idea before December 2.

OnChildLaidOutListener

interface OnChildLaidOutListener
androidx.leanback.widget.OnChildLaidOutListener

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

Summary

Public methods

abstract Unit
onChildLaidOut(parent: ViewGroup!, view: View!, position: Int, id: Long)

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

abstract fun onChildLaidOut(parent: ViewGroup!, view: View!, position: Int, id: Long): Unit

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 ViewGroup!: The view within the ViewGroup that was laid out.
position ViewGroup!: The position of the view in the adapter.
id ViewGroup!: The id of the child.