CreditCardView
CreditCardView copied to clipboard
[BUG] crashes when type is set to 'none'
The CreditCardView
crashes when type is set to 'none'
You mean CreditCardType ? Its an int value, so how are you able to set it to 'none' ?
@vinaygaba it happens when you do it in the XML.
Eg: app:type="none"
Also as an addition I want to add that you are unable to set (or disable) card type programmatically.
Where you able to resolve this please? I'm experiencing the same issue
@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);