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

[BUG] crashes when type is set to 'none' #30

Open
tobiasschuerg opened this issue Aug 1, 2018 · 5 comments
Open

[BUG] crashes when type is set to 'none' #30

tobiasschuerg opened this issue Aug 1, 2018 · 5 comments

Comments

@tobiasschuerg
Copy link

tobiasschuerg commented Aug 1, 2018

The CreditCardView crashes when type is set to 'none'

@vinaygaba
Copy link
Owner

You mean CreditCardType ? Its an int value, so how are you able to set it to 'none' ?

@Ekalips
Copy link

Ekalips commented May 7, 2019

@vinaygaba it happens when you do it in the XML.
Eg: app:type="none"

@Ekalips
Copy link

Ekalips commented May 7, 2019

Also as an addition I want to add that you are unable to set (or disable) card type programmatically.

@Asendo316
Copy link

Where you able to resolve this please?
I'm experiencing the same issue

@Ekalips
Copy link

Ekalips commented Oct 16, 2019

@Asendo316 Currently only one workaround is to hide logo view programatically when you don't know what card type is.

View logoView = cardLayout.findViewById(R.id.card_logo); logoView.setVisibility(View.GONE);

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

4 participants