Stay organized with collections
Save and categorize content based on your preferences.
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
onEndIconChanged
public abstract 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
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# TextInputLayout.OnEndIconChangedListener\n========================================\n\n\n`\npublic\nstatic\n\n\ninterface\nTextInputLayout.OnEndIconChangedListener\n`\n\n\n`\n\n\n`\n\n|--------------------------------------------------------------------------------|\n| com.google.android.material.textfield.TextInputLayout.OnEndIconChangedListener |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nCallback interface invoked when the view's end icon changes. \n**See also:**\n\n- [TextInputLayout.setEndIconMode(int)](/reference/com/google/android/material/textfield/TextInputLayout#setEndIconMode(int))\n\nSummary\n-------\n\n| ### Public methods ||\n|------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract void` | ` `[onEndIconChanged](/reference/com/google/android/material/textfield/TextInputLayout.OnEndIconChangedListener#onEndIconChanged(com.google.android.material.textfield.TextInputLayout,%20int))`(`[TextInputLayout](/reference/com/google/android/material/textfield/TextInputLayout)` textInputLayout, int previousIcon) ` Called when the end icon changes. |\n\nPublic methods\n--------------\n\n### onEndIconChanged\n\n```\npublic abstract void onEndIconChanged (TextInputLayout textInputLayout, \n int previousIcon)\n```\n\nCalled when the end icon changes.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-------------------|-------------------------------------------------------------------------------------------------------------------|\n| `textInputLayout` | `TextInputLayout`: the [TextInputLayout](/reference/com/google/android/material/textfield/TextInputLayout) \u003cbr /\u003e |\n| `previousIcon` | `int`: the end icon mode the view previously had set \u003cbr /\u003e |"]]