setEndIconMode

fun setEndIconMode(endIconMode: Int)

Sets the TextInputLayout.EndIconMode. Use this function rather than TextInputLayout.setEndIconMode for better password support. Note: This must only be set once and not changed later. Either with this function or in XML with the R.attr.enterpriseTextInputFieldOverrideEndIconMode attribute.