public class PaymentMethodNonceListAdapter
extends android.widget.BaseAdapter
implements android.content.DialogInterface.OnClickListener
BaseAdapter to handle a List of PaymentMethodNonces.
Used for listing existing PaymentMethodNonces for a customer to choose.| Modifier and Type | Class and Description |
|---|---|
static interface |
PaymentMethodNonceListAdapter.PaymentMethodNonceSelectedListener |
| Constructor and Description |
|---|
PaymentMethodNonceListAdapter(android.content.Context context,
PaymentMethodNonceListAdapter.PaymentMethodNonceSelectedListener listener,
java.util.List<PaymentMethodNonce> paymentMethodNonces) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCount() |
java.lang.Object |
getItem(int position) |
long |
getItemId(int position) |
android.view.View |
getView(int position,
android.view.View convertView,
android.view.ViewGroup parent) |
void |
onClick(android.content.DialogInterface dialog,
int which) |
public PaymentMethodNonceListAdapter(android.content.Context context,
PaymentMethodNonceListAdapter.PaymentMethodNonceSelectedListener listener,
java.util.List<PaymentMethodNonce> paymentMethodNonces)
public int getCount()
getCount in interface android.widget.Adapterpublic java.lang.Object getItem(int position)
getItem in interface android.widget.Adapterpublic long getItemId(int position)
getItemId in interface android.widget.Adapterpublic android.view.View getView(int position,
android.view.View convertView,
android.view.ViewGroup parent)
getView in interface android.widget.Adapterpublic void onClick(android.content.DialogInterface dialog,
int which)
onClick in interface android.content.DialogInterface.OnClickListener