public interface

ViewStubCompat.OnInflateListener

 androidx.appcompat.widget.ViewStubCompat.OnInflateListener

Overview

Listener used to receive a notification after a ViewStub has successfully inflated its layout resource.

Summary

Methods
public voidonInflate(ViewStubCompat stub, View inflated)

Invoked after a ViewStub successfully inflated its layout resource.

Methods

public void onInflate(ViewStubCompat stub, View inflated)

Invoked after a ViewStub successfully inflated its layout resource. This method is invoked after the inflated view was added to the hierarchy but before the layout pass.

Parameters:

stub: The ViewStub that initiated the inflation.
inflated: The inflated View.