matthewrkula/SecretTextView

setText() does not work after calling show() or hide().

Closed this issue · 0 comments

Once show() or hide() is called, mIsReset becomes always true and setText() does not work.
I fix it as below. Is it ok?

private void resetSpannableString(double percent){
mIsReset = true;
...
mIsReset = false;
}

remove mIsReset = false; from resetIfNeeded()