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

passing value into card programmatically #28

Open
bkmalkoc opened this issue Jun 19, 2017 · 10 comments
Open

passing value into card programmatically #28

bkmalkoc opened this issue Jun 19, 2017 · 10 comments

Comments

@bkmalkoc
Copy link

This setCardName function is not working

CreditCardView creditCardView = (CreditCardView) findViewById(R.id.custom_card_image);
creditCardView.setCardName("Burak");
@cjae
Copy link

cjae commented Jun 27, 2017

All the set function, none working

CreditCardView creditCardView = (CreditCardView) findViewById(R.id.custom_card_image);
creditCardView.setCardName("Burak");

@KgotsoK
Copy link

KgotsoK commented Oct 4, 2017

Yeah none of them work... such a bummer

@Onesky-Android
Copy link

Had this same issue too. Fixed it by changing the app's build.gradle line to compile 'com.github.vinaygaba:CreditCardView:v1.0.3' and adding maven {url "https://jitpack.io"} to the repositories in the project's build.gradle file.

@minhdn7
Copy link

minhdn7 commented Jun 19, 2018

it is not working for me, i add:
'com.github.vinaygaba:CreditCardView:v1.0.3'
and in project's build.gradle
maven {url "https://jitpack.io"}
big bug:(

@StillOnMyWay
Copy link

Has anyone found a fix for this?

@vinaygaba
Copy link
Owner

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

@vinaygaba
Copy link
Owner

@StillOnMyWay did you get a chance to try the latest version ?

@StillOnMyWay
Copy link

StillOnMyWay commented Sep 4, 2018

I had to switch to another library which had it working, for timeliness sake. @vinaygaba

@rameez-sgi
Copy link

@StillOnMyWay which library are you using now for creditcard view ?

@Efhemo
Copy link

Efhemo commented Apr 1, 2020

@vinaygaba still not working on - 1.0.4
tried to do

override fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int) {
              creditCardView.cardNumber = s.toString()
}

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

9 participants