Skip to content

Card doesn't render properly when programatically setting card number etc. #13

Closed
@biddster

Description

I'm using the card view in a list. In the list adapter's getView, I findViewById for the credit card view and then I set card number, name and expiry.

The following scenarios happen:

  1. If the card isn't editable, nothing appears in the fields.
  2. If the card is editable, I can tap in the card number field and then my card number appears.
  3. If I remove the programmatic calls to setCardNumber etc and hardcode the number, name and expiry in the layout xml, the card renders correctly.

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions