public class AppConfigChoiceAdapter
extends android.widget.BaseAdapter
implements android.widget.ListAdapter
| Modifier and Type | Class and Description |
|---|---|
static class |
AppConfigChoiceAdapter.ViewHolder |
| Constructor and Description |
|---|
AppConfigChoiceAdapter(android.content.Context context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
areAllItemsEnabled() |
int |
getCount() |
java.lang.Object |
getItem(int i) |
long |
getItemId(int i) |
android.view.View |
getView(int i,
android.view.View view,
android.view.ViewGroup viewGroup) |
boolean |
hasStableIds() |
boolean |
isEnabled(int i) |
void |
setChoices(java.util.ArrayList<java.lang.String> choices) |
getAutofillOptions, getDropDownView, getItemViewType, getViewTypeCount, isEmpty, notifyDataSetChanged, notifyDataSetInvalidated, registerDataSetObserver, setAutofillOptions, unregisterDataSetObserverpublic AppConfigChoiceAdapter(android.content.Context context)
public boolean areAllItemsEnabled()
areAllItemsEnabled in interface android.widget.ListAdapterareAllItemsEnabled in class android.widget.BaseAdapterpublic boolean isEnabled(int i)
isEnabled in interface android.widget.ListAdapterisEnabled in class android.widget.BaseAdapterpublic int getCount()
getCount in interface android.widget.Adapterpublic java.lang.Object getItem(int i)
getItem in interface android.widget.Adapterpublic long getItemId(int i)
getItemId in interface android.widget.Adapterpublic boolean hasStableIds()
hasStableIds in interface android.widget.AdapterhasStableIds in class android.widget.BaseAdapterpublic android.view.View getView(int i,
android.view.View view,
android.view.ViewGroup viewGroup)
getView in interface android.widget.Adapterpublic void setChoices(java.util.ArrayList<java.lang.String> choices)