Google 致力于为黑人社区推动种族平等。查看具体举措

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