OnChildLaidOutListener

public interface OnChildLaidOutListener


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

Summary

Public methods

abstract void
onChildLaidOut(
    @NonNull ViewGroup parent,
    @NonNull 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 1.0.0-alpha03
abstract void onChildLaidOut(
    @NonNull ViewGroup parent,
    @NonNull 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
@NonNull ViewGroup parent

The ViewGroup where the layout happened.

@NonNull View view

The view within the ViewGroup that was laid out.

int position

The position of the view in the adapter.

long id

The id of the child.