mukeshsolanki / android-otpview-pinview

A custom view to enter otp of different sizes used usually in cases of authentication.
MIT License
707 stars 207 forks source link

There is no option to clear OTP. #105

Closed razzlakki closed 4 years ago

razzlakki commented 4 years ago

There is no option to cleat OTP

If there is clear OTP text that could be helpful.

Expected behaviour

There should be a clear option also.

mukeshsolanki commented 4 years ago

This library is built on top of the AppCompactEditText so you should be able to do otpView.getText().clear()