You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! Thank you for your library! I have a question! How can I set hint "telephone" until my edit text hasn't focus, or untill I dont click on my edit text???
The text was updated successfully, but these errors were encountered:
I assume you are aware of the SDK reference for the EditText component and its setHint() method in particular.
According to the README example, you may want to set a MaskedTextChangedListener instance as a OnFocusChangeListener for your text field by calling
editText.setOnFocusChangeListener(listener);
— this way, you'll be able to use an "autocomplete" option whenever your text field gets focus in order to put prefix symbols before the user input.
First of all, It's not a necessary call.
Second, you may want to track an OnFocusChange event by yourself AND have this functionality at the same time.
In this case, I'd recommend you to implement a decorator over the MaskedTextChangedListener instance with the interface of OnFocusChangeListener — and then put your decorator in place of the OnFocusChangeListener.
It looks like an overkill for a simple hint change, though.
Hi! Thank you for your library! I have a question! How can I set hint "telephone" until my edit text hasn't focus, or untill I dont click on my edit text???
The text was updated successfully, but these errors were encountered: