/** * Starts to follow text changes in the specified {@link TextView} to format any input. <br/> * IMPORTANT: this call will force watcher to re-create the mask * * @param textView text view to watch and format */ public void installOn(@NonNull final TextView textView) { installOn(textView, false); }
/** * Starts to follow text changes in the specified {@link TextView} to format any input. * Initial mask's value (e.g. hardcoded head) will be displayed in the view.<br/> * IMPORTANT: this call will force watcher to re-create the mask * * @param textView text view to watch and format */ public void installOnAndFill(@NonNull final TextView textView) { installOn(textView, true); }