One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| import android.content.Context; | |
| import android.text.TextUtils; | |
| import android.util.AttributeSet; | |
| import android.view.ViewGroup; | |
| import com.android.volley.VolleyError; | |
| import com.android.volley.toolbox.ImageLoader; | |
| /** |
| package com.gabrielbauman.gist; | |
| import java.util.regex.Pattern; | |
| public enum CardType { | |
| UNKNOWN, | |
| VISA("^4[0-9]{12}(?:[0-9]{3})?$"), | |
| MASTERCARD("^5[1-5][0-9]{14}$"), | |
| AMERICAN_EXPRESS("^3[47][0-9]{13}$"), |