Android 12 Developer Preview is here! Try it out, and give us your feedback!

TextInputLayout.OnEditTextAttachedListener

public static interface TextInputLayout.OnEditTextAttachedListener

com.google.android.material.textfield.TextInputLayout.OnEditTextAttachedListener


Callback interface invoked when the view's EditText is attached, or from TextInputLayout.addOnEditTextAttachedListener(OnEditTextAttachedListener) if the edit text is already present.

Summary

Public methods

abstract void onEditTextAttached(TextInputLayout textInputLayout)

Called when the EditText is attached, or from TextInputLayout.addOnEditTextAttachedListener(OnEditTextAttachedListener) if the edit text is already present.

Public methods

onEditTextAttached

public abstract void onEditTextAttached (TextInputLayout textInputLayout)

Called when the EditText is attached, or from TextInputLayout.addOnEditTextAttachedListener(OnEditTextAttachedListener) if the edit text is already present.

Parameters
textInputLayout TextInputLayout: the TextInputLayout