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

Change card programmatically not work in DialogFragment #29

Open
kingfisherphuoc opened this issue Nov 8, 2017 · 1 comment
Open

Change card programmatically not work in DialogFragment #29

kingfisherphuoc opened this issue Nov 8, 2017 · 1 comment

Comments

@kingfisherphuoc
Copy link

I have dialog fragment which saves/sets the creditcard information programmatically. Everything works ok but the show the saved creditcard info.
I'm using this line of code to set creditcard programmtically:

creditCardView.setExpiryDate(expdate);
creditCardView.setCardNumber(creditCard.number);

I think the problem is that you dont reset the text of your expiryDate and cardNumber, just call the function invalidate(); to redraw the view.

@vinaygaba
Copy link
Owner

Can you try the latest library version that I just pushed - 1.0.4

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

2 participants