{"action":"created","issue":{"url":"https://api.github.com/repos/vinaygaba/CreditCardView/issues/13","labels_url":"https://api.github.com/repos/vinaygaba/CreditCardView/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/vinaygaba/CreditCardView/issues/13/comments","events_url":"https://api.github.com/repos/vinaygaba/CreditCardView/issues/13/events","html_url":"https://github.com/vinaygaba/CreditCardView/issues/13","id":93526331,"number":13,"title":"Card doesn't render properly when programatically setting card number etc.","user":{"login":"biddster","id":995967,"avatar_url":"https://avatars.githubusercontent.com/u/995967?v=3","gravatar_id":"","url":"https://api.github.com/users/biddster","html_url":"https://github.com/biddster","followers_url":"https://api.github.com/users/biddster/followers","following_url":"https://api.github.com/users/biddster/following{/other_user}","gists_url":"https://api.github.com/users/biddster/gists{/gist_id}","starred_url":"https://api.github.com/users/biddster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biddster/subscriptions","organizations_url":"https://api.github.com/users/biddster/orgs","repos_url":"https://api.github.com/users/biddster/repos","events_url":"https://api.github.com/users/biddster/events{/privacy}","received_events_url":"https://api.github.com/users/biddster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-07T13:04:08Z","updated_at":"2015-07-07T13:58:31Z","closed_at":null,"body":"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. \r\n\r\nThe following scenarios happen:\r\n\r\n1. If the card isn't editable, nothing appears in the fields. \r\n2. If the card is editable, I can tap in the card number field and then my card number appears. \r\n3. If I remove the programmatic calls to setCardNumber etc and hardcode the number, name and expiry in the layout xml, the card renders correctly."},"comment":{"url":"https://api.github.com/repos/vinaygaba/CreditCardView/issues/comments/119210190","html_url":"https://github.com/vinaygaba/CreditCardView/issues/13#issuecomment-119210190","issue_url":"https://api.github.com/repos/vinaygaba/CreditCardView/issues/13","id":119210190,"user":{"login":"vinaygaba","id":4281910,"avatar_url":"https://avatars.githubusercontent.com/u/4281910?v=3","gravatar_id":"","url":"https://api.github.com/users/vinaygaba","html_url":"https://github.com/vinaygaba","followers_url":"https://api.github.com/users/vinaygaba/followers","following_url":"https://api.github.com/users/vinaygaba/following{/other_user}","gists_url":"https://api.github.com/users/vinaygaba/gists{/gist_id}","starred_url":"https://api.github.com/users/vinaygaba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinaygaba/subscriptions","organizations_url":"https://api.github.com/users/vinaygaba/orgs","repos_url":"https://api.github.com/users/vinaygaba/repos","events_url":"https://api.github.com/users/vinaygaba/events{/privacy}","received_events_url":"https://api.github.com/users/vinaygaba/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T13:58:31Z","updated_at":"2015-07-07T13:58:31Z","body":"Hi @biddster, could you please share your code, specifically the list adapter where u are setting up the views for me to troubleshoot the issue. Thanks."}}