Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

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 TextInputLayout.EndIconMode the view previously had set