public static class SortSpinner.Adapter
extends android.widget.BaseAdapter
Constructor and Description |
---|
Adapter(android.content.Context context) |
Modifier and Type | Method and Description |
---|---|
int |
getCount() |
android.view.View |
getDropDownView(int position,
android.view.View convertView,
android.view.ViewGroup parent) |
java.lang.Object |
getItem(int position) |
long |
getItemId(int position) |
android.view.View |
getView(int position,
android.view.View convertView,
android.view.ViewGroup parent) |
android.view.View |
getView(int position,
android.view.View row,
android.view.ViewGroup parent,
boolean list) |
void |
setModes(java.util.List<HierarchyListItem.Sort> modes) |
public void setModes(java.util.List<HierarchyListItem.Sort> modes)
public java.lang.Object getItem(int position)
public int getCount()
public long getItemId(int position)
public android.view.View getDropDownView(int position, android.view.View convertView, android.view.ViewGroup parent)
getDropDownView
in interface android.widget.SpinnerAdapter
getDropDownView
in class android.widget.BaseAdapter
public android.view.View getView(int position, android.view.View convertView, android.view.ViewGroup parent)
public android.view.View getView(int position, android.view.View row, android.view.ViewGroup parent, boolean list)