protected class PreferenceSearchDialog.SearchIndexAdapter
extends android.widget.BaseAdapter
implements android.widget.AdapterView.OnItemClickListener
Modifier and Type | Method and Description |
---|---|
protected void |
clear() |
int |
getCount() |
PreferenceSearchIndex |
getItem(int position) |
long |
getItemId(int position) |
android.view.View |
getView(int position,
android.view.View row,
android.view.ViewGroup parent) |
void |
onItemClick(android.widget.AdapterView<?> p,
android.view.View v,
int pos,
long id) |
protected void |
refresh() |
areAllItemsEnabled, getAutofillOptions, getDropDownView, getItemViewType, getViewTypeCount, hasStableIds, isEmpty, isEnabled, notifyDataSetChanged, notifyDataSetInvalidated, registerDataSetObserver, setAutofillOptions, unregisterDataSetObserver
protected void refresh()
protected void clear()
public int getCount()
getCount
in interface android.widget.Adapter
public PreferenceSearchIndex getItem(int position)
getItem
in interface android.widget.Adapter
public long getItemId(int position)
getItemId
in interface android.widget.Adapter
public android.view.View getView(int position, android.view.View row, android.view.ViewGroup parent)
getView
in interface android.widget.Adapter
public void onItemClick(android.widget.AdapterView<?> p, android.view.View v, int pos, long id)
onItemClick
in interface android.widget.AdapterView.OnItemClickListener