Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Programmatically input into material-code-input #42

Open
yccheok opened this issue Jun 25, 2018 · 0 comments
Open

Programmatically input into material-code-input #42

yccheok opened this issue Jun 25, 2018 · 0 comments

Comments

@yccheok
Copy link

yccheok commented Jun 25, 2018

Thank you for creating this library.

As I would like to integrate material-code-input with https://github.com/omadahealth/LolliPin

I try to programmatically input into material-code-input, using codeInput.setCode.

Says, I want to input "1", followed by "2".

I try to call

codeInput.setCode("1")

Then, I try to call

codeInput.setCode("2")

The end result looks like

2018-06-25 15_44_18-android emulator - copy_of_nexus_5_api_25_5554

Then, I try another approach. I first call codeInput.setCode("1"), then followed by codeInput.setCode("12"), then end result looks like

2018-06-25 15_45_52-android emulator - copy_of_nexus_5_api_25_5554

May I know, is programmatically input supported by android-otpview-pinview?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant