Open mobilestar1 opened 7 years ago
> app:mask=""
How to change it in code not xml. Also using databinding library as setting as
app:mask="@{model.show ? `` :
*}"
throws an error. Can you make create getters and setters for mask so that we can do it in code?
@eGorets Is there a way to change in code?
There isn't a setter in code for mask
at the moment. As a workaround you can have two PinEntryViews in your layout, one with a mask and the other without, and flip their visibility when you toggle the show/hide pin button.
I implemented this library and it works perfectly. Btw I want to add feature "show/hide pin"
So my guess is I need to change mask string in code.
How can I do this? Thanks.