Skip to content

Programmatically input into material-code-input #42

@yccheok

Description

@yccheok

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions