OnChildLaidOutListener


interface OnChildLaidOutListener


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

Summary

Public functions

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 functions

onChildLaidOut

Added in 1.0.0-alpha03
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: 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.