I am facing issues with update of android Version.
setPasswordVisibilityToggleEnabled(boolean)' is deprecated
I want my login view to switch between hide and show password toggle icon in TextInputLayout.
But, how do I use instead of using setPasswordVisibilityToggleEnabled(boolean)
?
I also searched this on Google and I found they recommend me to use setEndIconDrawable(int)
instead.
But I don't know how to use it?
I also found this How to switch between hide and view password But I don't wanna use this code.
Is there any other way to develop like this? Thank you all!.