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

How to switch between hide and view value #103

Closed adnanganie closed 4 years ago

adnanganie commented 4 years ago

Subject of the issue

Like toggle on Password

Steps to reproduce

Tell us how to reproduce this issue. Please provide a working demo.

Expected behaviour

Tell us what should happen

Actual behaviour

Tell us what happens instead

mukeshsolanki commented 4 years ago

Why would an otp view require a toggle?

adnanganie commented 4 years ago

Sometimes user wants to see what i had typed (value)

mukeshsolanki commented 4 years ago

This is a specific issue catered to your needs and it should not be a part of the lib. You can achieve this by having the button remove the mask and replace it with the entered value

adnanganie commented 4 years ago

I did using checkbox

nikharsachdeva commented 3 years ago

I did using checkbox

Can you help me with the snippet?