Skip to content

Change card programmatically not work in DialogFragment #29

@kingfisherphuoc

Description

@kingfisherphuoc

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.

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