Package eltos.simpledialogfragment.color
Class SimpleColorDialog.ColorAdapter
java.lang.Object
android.widget.BaseAdapter
eltos.simpledialogfragment.list.AdvancedAdapter<Integer>
eltos.simpledialogfragment.color.SimpleColorDialog.ColorAdapter
- All Implemented Interfaces:
android.widget.Adapter
,android.widget.Filterable
,android.widget.ListAdapter
,android.widget.SpinnerAdapter
- Enclosing class:
- SimpleColorDialog
-
Nested Class Summary
Nested classes/interfaces inherited from class eltos.simpledialogfragment.list.AdvancedAdapter
AdvancedAdapter.AdvancedFilter, AdvancedAdapter.ItemIdentifier<Item>
-
Field Summary
Fields inherited from class eltos.simpledialogfragment.list.AdvancedAdapter
CHOICE_MODE_MULTIPLE, CHOICE_MODE_NONE, CHOICE_MODE_SINGLE
Fields inherited from interface android.widget.Adapter
IGNORE_ITEM_VIEW_TYPE, NO_SELECTION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionandroid.view.View
getView
(int position, android.view.View convertView, android.view.ViewGroup parent) Methods inherited from class eltos.simpledialogfragment.list.AdvancedAdapter
filterItems, getCheckedItemCount, getCheckedItemIds, getCheckedItemOriginalPositions, getCheckedItems, getCount, getData, getFilter, getItem, getItemId, highlight, highlight, isItemChecked, notifyDataSetChanged, setAllItemsChecked, setChoiceMode, setData, setData, setData, setData, setDataAndIds, setDataAndIds, setItemChecked, setItemChecked, setItemsCheckedFromIds, setItemsCheckedFromIds, toggleChecked
Methods inherited from class android.widget.BaseAdapter
areAllItemsEnabled, getAutofillOptions, getDropDownView, getItemViewType, getViewTypeCount, hasStableIds, isEmpty, isEnabled, notifyDataSetInvalidated, registerDataSetObserver, setAutofillOptions, unregisterDataSetObserver
-
Constructor Details
-
ColorAdapter
public ColorAdapter(int[] colors, boolean addCustomField)
-
-
Method Details
-
getView
public android.view.View getView(int position, android.view.View convertView, android.view.ViewGroup parent) - Specified by:
getView
in interfaceandroid.widget.Adapter
- Overrides:
getView
in classAdvancedAdapter<Integer>
-