Google is committed to advancing racial equity for Black communities. See how.

TextInputLayout.OnEndIconChangedListener

public static interface TextInputLayout.OnEndIconChangedListener

com.google.android.material.textfield.TextInputLayout.OnEndIconChangedListener


Callback interface invoked when the view's end icon changes.

Summary

Public methods

abstract void onEndIconChanged(TextInputLayout textInputLayout, int previousIcon)

Called when the end icon changes.

Public methods

onEndIconChanged

void onEndIconChanged (TextInputLayout textInputLayout, 
                int previousIcon)

Called when the end icon changes.

Parameters
textInputLayout TextInputLayout: the TextInputLayout

previousIcon int: the end icon mode the view previously had set