setEndIconCheckable

open fun setEndIconCheckable(endIconCheckable: Boolean)

Sets the current end icon to be checkable or not.

If the icon works just as a button and the fact that it's checked or not doesn't affect its behavior, such as the clear text end icon, calling this method is encouraged so that screen readers will not announce the icon's checked state.

Parameters

endIconCheckable

whether the icon should be checkable