Skip navigation links
Android Widget Adapters 1.0.0 Documentation
A B C D E F G H I L M N O R S T U V W 

A

AdapterModule - Class in universum.studios.android.widget.adapter.module
This class specifies base API layer for an object which can be used as a module within an instance of Adapter.
AdapterModule() - Constructor for class universum.studios.android.widget.adapter.module.AdapterModule
 
AdapterModule.ModuleAdapter - Interface in universum.studios.android.widget.adapter.module
Simple interface for "module based" adapter.
AdapterSavedState - Class in universum.studios.android.widget.adapter
Saved state implementation for adapters like View.BaseSavedState for views.
AdapterSavedState(Parcelable) - Constructor for class universum.studios.android.widget.adapter.AdapterSavedState
Should be called by a derived adapter classes when creating theirs SavedState objects to allow chaining of those states via Adapter#saveInstanceState().
AdapterSavedState(Parcel) - Constructor for class universum.studios.android.widget.adapter.AdapterSavedState
Should be called from a AdapterSavedState.CREATOR of a derived class to create an instance of AdapterSavedState with super state from the given parcel source.
AdaptersConfig - Class in universum.studios.android.widget.adapter
Configuration options for the Widget Adapters library.
AdaptersConfig() - Constructor for class universum.studios.android.widget.adapter.AdaptersConfig
 
AdapterWrapper - Class in universum.studios.android.widget.adapter.wrapper
A WrapperListAdapter implementation that may be used to wrap instance of ListAdapter.
AdapterWrapper(ListAdapter) - Constructor for class universum.studios.android.widget.adapter.wrapper.AdapterWrapper
Creates a new instance of AdapterWrapper which wraps the given adapter.
addHeader(H, int) - Method in class universum.studios.android.widget.adapter.module.HeadersModule
Adds the given header at the specified position into the current headers data set of this module.
AlphabeticHeaders - Class in universum.studios.android.widget.adapter.module
A HeadersModule implementation which may be used to provide set of alphabetic headers for data set of a specific adapter to which is this module attached.
AlphabeticHeaders() - Constructor for class universum.studios.android.widget.adapter.module.AlphabeticHeaders
 
AlphabeticHeaders.AlphabeticItem - Interface in universum.studios.android.widget.adapter.module
Required interface for item of which data set can be processed via AlphabeticHeaders.fromAlphabeticList(List) or AlphabeticHeaders.fromAlphabeticCursor(Cursor).
areAllItemsEnabled() - Method in class universum.studios.android.widget.adapter.wrapper.AdapterWrapper
 
assertAttachedToAdapterOrThrow() - Method in class universum.studios.android.widget.adapter.module.AdapterModule
Asserts that this module is attached to its associated adapter, if not an exception is thrown.
attachToAdapter(AdapterModule.ModuleAdapter) - Method in class universum.studios.android.widget.adapter.module.AdapterModule
Called to attach this module to the given adapter.

B

BaseAdapter<Item,VH> - Class in universum.studios.android.widget.adapter
Extended version of BaseAdapter.
BaseAdapter(Context) - Constructor for class universum.studios.android.widget.adapter.BaseAdapter
Creates a new instance of BaseAdapter within the given context.
BaseRecyclerAdapter<Item,VH extends RecyclerView.ViewHolder> - Class in universum.studios.android.widget.adapter
Extended version of RecyclerView.Adapter that provides API of DataSetAdapter.
BaseRecyclerAdapter(Context) - Constructor for class universum.studios.android.widget.adapter.BaseRecyclerAdapter
Creates a new instance of BaseAdapter within the given context.
BaseRecyclerAdapter.SimpleViewHolder - Class in universum.studios.android.widget.adapter
Simple RecyclerView.ViewHolder implementation used as default holder for purpose of BaseRecyclerAdapter.onCreateViewHolder(ViewGroup, int) method.
BaseSpinnerAdapter<Item,VH,DVH> - Class in universum.studios.android.widget.adapter
A BaseAdapter implementation that may be used to provide optimized adapter also for Spinner widget.
BaseSpinnerAdapter(Context) - Constructor for class universum.studios.android.widget.adapter.BaseSpinnerAdapter
Creates a new instance of BaseSpinnerAdapter within the given context.
bindViewHolder(Object, int) - Method in class universum.studios.android.widget.adapter.module.HeadersModule
Binds the given header viewHolder for the specified position.

C

changeItems(List<Item>) - Method in interface universum.studios.android.widget.adapter.ItemsAdapter
Same as ItemsAdapter.swapItems(List) without returning the old data set of items.
changeItems(List<Item>) - Method in class universum.studios.android.widget.adapter.SimpleAdapter
 
changeItems(List<Item>) - Method in class universum.studios.android.widget.adapter.SimpleRecyclerAdapter
 
changeItems(List<Item>) - Method in class universum.studios.android.widget.adapter.SimpleSpinnerAdapter
 
clearHeaders() - Method in class universum.studios.android.widget.adapter.module.AlphabeticHeaders
 
clearHeaders() - Method in class universum.studios.android.widget.adapter.module.HeadersModule
Clears the current headers data set of this module.
clearSelection() - Method in class universum.studios.android.widget.adapter.module.SelectionModule
Deselects all currently selected ids and notifies adapter.
clearSelection(boolean) - Method in class universum.studios.android.widget.adapter.module.SelectionModule
Removes all ids form the set of the currently selected ids.
clearSelectionInRange(int, int) - Method in class universum.studios.android.widget.adapter.module.SelectionModule
Deselects all currently selected ids in the [startPosition, startPosition + count) range and notifies adapter.
correctPosition(int) - Method in class universum.studios.android.widget.adapter.module.HeadersModule
Corrects the given position passed from the related adapter.
createView(LayoutInflater, ViewGroup, int) - Method in class universum.studios.android.widget.adapter.module.HeadersModule
Creates the view for the header item at the specified position.
createViewHolder(View, int) - Method in class universum.studios.android.widget.adapter.module.HeadersModule
Creates the view holder for the given header view at the specified position.
CREATOR - Static variable in class universum.studios.android.widget.adapter.AdapterSavedState
Creator used to create an instance or array of instances of AdapterSavedState from Parcel.
CREATOR - Static variable in class universum.studios.android.widget.adapter.module.SelectionModule.SavedState
Creator used to create an instance or array of instances of SavedState from Parcel.
currentViewType() - Method in class universum.studios.android.widget.adapter.BaseAdapter
Returns the type of an item's view for the currently iterated position.

D

DataSet<Item> - Interface in universum.studios.android.widget.adapter
Interface specifying API for data sets that contain a simple set of items.
DataSetAdapter<Item> - Interface in universum.studios.android.widget.adapter
A convenience interface specifying common API for adapters with data set.
DEBUG_LOG_ENABLED - Static variable in class universum.studios.android.widget.adapter.AdaptersConfig
Flag indicating whether the debug output for the Widget Adapters library trough log-cat is enabled or not.
describeContents() - Method in class universum.studios.android.widget.adapter.AdapterSavedState
 
deselect(long) - Method in class universum.studios.android.widget.adapter.module.SelectionModule
Removes the specified id form the set of the currently selected ids.

E

EMPTY_STATE - Static variable in class universum.studios.android.widget.adapter.AdapterSavedState
Empty state that should be used as return value for Adapter#saveInstanceState() whenever that specific adapter does not need to save its state.

F

fromAlphabeticCursor(C) - Method in class universum.studios.android.widget.adapter.module.AlphabeticHeaders
Like AlphabeticHeaders.fromAlphabeticList(List) for the given cursor of which content will be iterated to obtain the item names.
fromAlphabeticList(List<Item>) - Method in class universum.studios.android.widget.adapter.module.AlphabeticHeaders
Processes the given list of alphabetic items.

G

getAdapterPosition() - Method in class universum.studios.android.widget.adapter.ViewHolder
Returns the current position of this holder instance.
getCount() - Method in class universum.studios.android.widget.adapter.BaseAdapter
getCount() - Method in class universum.studios.android.widget.adapter.wrapper.AdapterWrapper
 
getDropDownView(int, View, ViewGroup) - Method in class universum.studios.android.widget.adapter.BaseSpinnerAdapter
Performs optimized algorithm for this method using the Holder pattern.
getHeader(int) - Method in class universum.studios.android.widget.adapter.module.HeadersModule
Returns the header associated with the specified position from the current headers data set of this module.
getHeaders() - Method in class universum.studios.android.widget.adapter.module.HeadersModule
Returns the current headers data set of this module.
getHeadersCountBeforePosition(int) - Method in class universum.studios.android.widget.adapter.module.HeadersModule
Counts headers presented in the current headers data set before the requested position.
getHeaderStyleAttr() - Method in class universum.studios.android.widget.adapter.module.HeadersModule
Returns the Xml style attribute specified via HeadersModule.setHeaderStyleAttr(int).
getItem(int) - Method in interface universum.studios.android.widget.adapter.DataSet
Returns the item (model) containing data from this data set for the specified position.
getItem(int) - Method in class universum.studios.android.widget.adapter.SimpleAdapter
 
getItem(int) - Method in class universum.studios.android.widget.adapter.SimpleRecyclerAdapter
 
getItem(int) - Method in class universum.studios.android.widget.adapter.SimpleSpinnerAdapter
 
getItem(int) - Method in class universum.studios.android.widget.adapter.wrapper.AdapterWrapper
 
getItemCount() - Method in interface universum.studios.android.widget.adapter.DataSet
Returns the count of items available within this data set.
getItemCount() - Method in interface universum.studios.android.widget.adapter.module.AdapterModule.ModuleAdapter
Returns the count of items presented within data set of this adapter.
getItemCount() - Method in class universum.studios.android.widget.adapter.SimpleAdapter
 
getItemCount() - Method in class universum.studios.android.widget.adapter.SimpleRecyclerAdapter
 
getItemCount() - Method in class universum.studios.android.widget.adapter.SimpleSpinnerAdapter
 
getItemId(int) - Method in class universum.studios.android.widget.adapter.BaseAdapter
 
getItemId(int) - Method in class universum.studios.android.widget.adapter.BaseRecyclerAdapter
 
getItemId(int) - Method in interface universum.studios.android.widget.adapter.DataSet
Returns the ID of the item at the specified position.
getItemId(int) - Method in interface universum.studios.android.widget.adapter.module.AdapterModule.ModuleAdapter
Returns the id of the item from this adapter's data set at the specified position.
getItemId(int) - Method in class universum.studios.android.widget.adapter.wrapper.AdapterWrapper
 
getItems() - Method in interface universum.studios.android.widget.adapter.ItemsAdapter
Returns the current items data set of this adapter.
getItems() - Method in class universum.studios.android.widget.adapter.SimpleAdapter
 
getItems() - Method in class universum.studios.android.widget.adapter.SimpleRecyclerAdapter
 
getItems() - Method in class universum.studios.android.widget.adapter.SimpleSpinnerAdapter
 
getItemViewType(int) - Method in class universum.studios.android.widget.adapter.wrapper.AdapterWrapper
 
getMode() - Method in class universum.studios.android.widget.adapter.module.SelectionModule
Returns the current selection mode of this module.
getSelectedItem() - Method in class universum.studios.android.widget.adapter.BaseSpinnerAdapter
Returns the item model of this adapter for the current selected position.
getSelectedItemPosition() - Method in class universum.studios.android.widget.adapter.BaseSpinnerAdapter
Returns the position of the currently selected item.
getSelection() - Method in class universum.studios.android.widget.adapter.module.SelectionModule
Returns list containing ids that are at this time selected within this module.
getSelectionSize() - Method in class universum.studios.android.widget.adapter.module.SelectionModule
Returns size of the current selection.
getSuperState() - Method in class universum.studios.android.widget.adapter.AdapterSavedState
Returns the super state of this saved state.
getText() - Method in interface universum.studios.android.widget.adapter.module.AlphabeticHeaders.AlphabeticItem
Returns text of this alphabetic item.
getText() - Method in interface universum.studios.android.widget.adapter.module.HeadersModule.Header
Returns the text to be displayed for this header instance.
getText() - Method in class universum.studios.android.widget.adapter.module.HeadersModule.SimpleHeader
 
getView(int, View, ViewGroup) - Method in class universum.studios.android.widget.adapter.BaseAdapter
 
getView(int, View, ViewGroup) - Method in class universum.studios.android.widget.adapter.BaseSpinnerAdapter
 
getView(int, View, ViewGroup) - Method in class universum.studios.android.widget.adapter.wrapper.AdapterWrapper
 
getViewTypeCount() - Method in class universum.studios.android.widget.adapter.wrapper.AdapterWrapper
 
getWrappedAdapter() - Method in class universum.studios.android.widget.adapter.wrapper.AdapterWrapper
 

H

hasItemAt(int) - Method in interface universum.studios.android.widget.adapter.DataSet
Returns a boolean flag indicating whether this data set has item that can provide data for the specified position or not.
hasItemAt(int) - Method in class universum.studios.android.widget.adapter.SimpleAdapter
 
hasItemAt(int) - Method in class universum.studios.android.widget.adapter.SimpleRecyclerAdapter
 
hasItemAt(int) - Method in class universum.studios.android.widget.adapter.SimpleSpinnerAdapter
 
hasStableIds() - Method in class universum.studios.android.widget.adapter.BaseAdapter
 
hasStableIds() - Method in interface universum.studios.android.widget.adapter.DataSetAdapter
Returns a boolean flag indicating whether the data set of this adapter has stable ids or not.
hasStableIds() - Method in class universum.studios.android.widget.adapter.wrapper.AdapterWrapper
 
HeadersModule<H extends HeadersModule.Header> - Class in universum.studios.android.widget.adapter.module
An AdapterModule implementation that specifies API for modules that may provide additional data set of headers for theirs associated adapter.
HeadersModule() - Constructor for class universum.studios.android.widget.adapter.module.HeadersModule
 
HeadersModule.Header - Interface in universum.studios.android.widget.adapter.module
Required interface for header items of HeadersModule.
HeadersModule.SimpleHeader - Class in universum.studios.android.widget.adapter.module
Simple implementation of HeadersModule.Header item for HeadersModule.

I

inflate(int, ViewGroup) - Method in class universum.studios.android.widget.adapter.BaseAdapter
Inflates a new view hierarchy from the given xml resource.
inflate(int, ViewGroup) - Method in class universum.studios.android.widget.adapter.BaseRecyclerAdapter
Inflates a new view hierarchy from the given xml resource.
isAdapterNotificationEnabled() - Method in class universum.studios.android.widget.adapter.module.AdapterModule
Returns a boolean flag indicating whether the adapter to which is this module attached should be notified in case, when its data set has been changed due to changes made by this module.
isEmpty() - Method in class universum.studios.android.widget.adapter.BaseRecyclerAdapter
 
isEmpty() - Method in interface universum.studios.android.widget.adapter.DataSet
Returns a boolean flag indicating whether this data set is empty or not.
isEmpty() - Method in class universum.studios.android.widget.adapter.module.HeadersModule
Checks whether this module has some headers or not.
isEmpty() - Method in class universum.studios.android.widget.adapter.wrapper.AdapterWrapper
 
isEnabled(int) - Method in class universum.studios.android.widget.adapter.BaseRecyclerAdapter
 
isEnabled(int) - Method in interface universum.studios.android.widget.adapter.DataSetAdapter
Returns a boolean flag indicating whether an item at the specified position is enabled or not.
isEnabled(int) - Method in class universum.studios.android.widget.adapter.wrapper.AdapterWrapper
 
isHeaderAt(int) - Method in class universum.studios.android.widget.adapter.module.HeadersModule
Checks whether there is a header at the specified position or not.
isSelected(long) - Method in class universum.studios.android.widget.adapter.module.SelectionModule
Checks whether the specified id is currently selected or not.
ItemsAdapter<Item> - Interface in universum.studios.android.widget.adapter
A DataSetAdapter interface extension for simple adapters that provide set of items as theirs data set.
itemView - Variable in class universum.studios.android.widget.adapter.ViewHolder
View with which has been this holder created.

L

LOG_ENABLED - Static variable in class universum.studios.android.widget.adapter.AdaptersConfig
Flag indicating whether the output for the Widget Adapters library trough log-cat is enabled or not.

M

mAdapter - Variable in class universum.studios.android.widget.adapter.wrapper.AdapterWrapper
Wrapped instance of ListAdapter.
mContext - Variable in class universum.studios.android.widget.adapter.BaseAdapter
Context in which will be this adapter used.
mContext - Variable in class universum.studios.android.widget.adapter.BaseRecyclerAdapter
Context in which will be this adapter used.
mLayoutInflater - Variable in class universum.studios.android.widget.adapter.BaseAdapter
Layout inflater used to inflate new views for this adapter.
mLayoutInflater - Variable in class universum.studios.android.widget.adapter.BaseRecyclerAdapter
Layout inflater used to inflate new views for this adapter.
mResources - Variable in class universum.studios.android.widget.adapter.BaseAdapter
Application resources that may be used to obtain strings, texts, drawables, ...
mResources - Variable in class universum.studios.android.widget.adapter.BaseRecyclerAdapter
Application resources that may be used to obtain strings, texts, drawables, ...
MULTIPLE - Static variable in class universum.studios.android.widget.adapter.module.SelectionModule
Mode that allows multiple items to be selected.

N

NO_ID - Static variable in interface universum.studios.android.widget.adapter.DataSet
Constant that identifies invalid/unspecified id.
NO_POSITION - Static variable in interface universum.studios.android.widget.adapter.DataSet
Constant that identifies invalid/unspecified position.
notifyAdapter() - Method in class universum.studios.android.widget.adapter.module.AdapterModule
Notifies the adapter to which is this module attached via AdapterModule.ModuleAdapter.notifyDataSetChanged().
notifyDataSetActionSelected(int, int, Object) - Method in class universum.studios.android.widget.adapter.BaseAdapter
Notifies that the given action has been performed for the specified position.
notifyDataSetActionSelected(int, int, Object) - Method in class universum.studios.android.widget.adapter.BaseRecyclerAdapter
Notifies that the given action has been performed for the specified position.
notifyDataSetChanged() - Method in class universum.studios.android.widget.adapter.BaseAdapter
 
notifyDataSetChanged() - Method in interface universum.studios.android.widget.adapter.module.AdapterModule.ModuleAdapter
Notifies the registered observers that the data set of this adapter has been changed and all Views reflecting these data should be refreshed.
notifyDataSetInvalidated() - Method in class universum.studios.android.widget.adapter.BaseAdapter
 

O

onAttachedToAdapter(AdapterModule.ModuleAdapter) - Method in class universum.studios.android.widget.adapter.module.AdapterModule
onBindDropDownViewHolder(DVH, int) - Method in class universum.studios.android.widget.adapter.BaseSpinnerAdapter
Invoked to configure and bind a drop down view of an item from the current data set at the specified position.
onBindViewHolder(VH, int) - Method in class universum.studios.android.widget.adapter.BaseAdapter
Invoked to configure and bind a view of an item from the current data set at the specified position.
onBindViewHolder(VH, int) - Method in class universum.studios.android.widget.adapter.BaseRecyclerAdapter
 
onBindViewHolder(VH, int) - Method in class universum.studios.android.widget.adapter.BaseSpinnerAdapter
This implementation by default invokes #onUpdateViewHolder(Object, Item, int) with item at the current selected position.
onCreateDropDownView(ViewGroup, int) - Method in class universum.studios.android.widget.adapter.BaseSpinnerAdapter
Invoked to create a drop down view for an item from the current data set at the specified position.
onCreateDropDownViewHolder(View, int) - Method in class universum.studios.android.widget.adapter.BaseSpinnerAdapter
Invoked to create a view holder for a drop down view of an item from the current data set at the specified position.
onCreateView(ViewGroup, int) - Method in class universum.studios.android.widget.adapter.BaseAdapter
Invoked to create a view for an item from the current data set at the specified position.
onCreateViewHolder(View, int) - Method in class universum.studios.android.widget.adapter.BaseAdapter
Invoked to create a view holder for a view of an item from the current data set at the specified position.
onCreateViewHolder(ViewGroup, int) - Method in class universum.studios.android.widget.adapter.BaseRecyclerAdapter
 
onDataChange(Adapter, Data) - Method in interface universum.studios.android.widget.adapter.OnDataChangeListener
Invoked whenever the specified data are about to be changed in the given adapter.
onDataChanged(Adapter, Data) - Method in interface universum.studios.android.widget.adapter.OnDataChangeListener
Invoked after OnDataChangeListener.onDataChange(Object, Object) callback has been fired and data change has been finished.
OnDataChangeListener<Adapter,Data> - Interface in universum.studios.android.widget.adapter
Listener which receives callbacks that may be used to listen for events before and after data change for a specific adapter.
OnDataSetActionListener<Adapter> - Interface in universum.studios.android.widget.adapter
Listener which receives callback about selected action within adapter's data set for a specific position.
onDataSetActionSelected(int, int, Object) - Method in class universum.studios.android.widget.adapter.BaseAdapter
Invoked immediately after BaseAdapter.notifyDataSetActionSelected(int, int, Object) was called.
onDataSetActionSelected(int, int, Object) - Method in class universum.studios.android.widget.adapter.BaseRecyclerAdapter
onDataSetActionSelected(Adapter, int, int, long, Object) - Method in interface universum.studios.android.widget.adapter.OnDataSetActionListener
Invoked whenever the specified action was selected for the specified position within the passed adapter in which is this callback registered.
onDataSetChanged(Adapter) - Method in interface universum.studios.android.widget.adapter.OnDataSetListener
Invoked whenever the current data set within the passed adapter was changed.
onDataSetInvalidated(Adapter) - Method in interface universum.studios.android.widget.adapter.OnDataSetListener
Invoked whenever the current data set within the passed adapter was invalidated.
OnDataSetListener<Adapter> - Interface in universum.studios.android.widget.adapter
Listener which receives callbacks about changed and invalidated adapter's data set.
onItemsChange(List<Item>, List<Item>) - Method in class universum.studios.android.widget.adapter.SimpleAdapter
Called from SimpleAdapter.swapItems(List) in order to handle change in items of this adapter.
onItemsChange(List<Item>, List<Item>) - Method in class universum.studios.android.widget.adapter.SimpleRecyclerAdapter
Called from SimpleRecyclerAdapter.swapItems(List) in order to handle change in items of this adapter.
onItemsChange(List<Item>, List<Item>) - Method in class universum.studios.android.widget.adapter.SimpleSpinnerAdapter
Called from SimpleSpinnerAdapter.swapItems(List) in order to handle change in items of this adapter.
onProcessAlphabeticItem(AlphabeticHeaders.AlphabeticItem, int) - Method in class universum.studios.android.widget.adapter.module.AlphabeticHeaders
Invoked to process the given alphabetic item and to create header item from it.
onUpdateViewHolder(DVH, Item, int) - Method in class universum.studios.android.widget.adapter.BaseSpinnerAdapter
Invoked to update views of the given viewHolder with data of the given cursor.

R

registerDataSetObserver(DataSetObserver) - Method in class universum.studios.android.widget.adapter.wrapper.AdapterWrapper
 
registerOnDataChangeListener(OnDataChangeListener) - Method in class universum.studios.android.widget.adapter.BaseAdapter
 
registerOnDataChangeListener(OnDataChangeListener) - Method in class universum.studios.android.widget.adapter.BaseRecyclerAdapter
 
registerOnDataChangeListener(OnDataChangeListener) - Method in interface universum.studios.android.widget.adapter.DataSet
Registers a callback to be invoked when a data change occurs in this data set.
registerOnDataSetActionListener(OnDataSetActionListener) - Method in class universum.studios.android.widget.adapter.BaseAdapter
 
registerOnDataSetActionListener(OnDataSetActionListener) - Method in class universum.studios.android.widget.adapter.BaseRecyclerAdapter
 
registerOnDataSetActionListener(OnDataSetActionListener) - Method in interface universum.studios.android.widget.adapter.DataSet
Registers a callback to be invoked when a specific data set action is selected within this data set.
registerOnDataSetListener(OnDataSetListener) - Method in class universum.studios.android.widget.adapter.BaseAdapter
 
registerOnDataSetListener(OnDataSetListener) - Method in class universum.studios.android.widget.adapter.BaseRecyclerAdapter
 
registerOnDataSetListener(OnDataSetListener) - Method in interface universum.studios.android.widget.adapter.DataSet
Registers a callback to be invoked when a data set event occurs.
removeHeaderAt(int) - Method in class universum.studios.android.widget.adapter.module.HeadersModule
Removes a header at the specified position from the current headers data set of this module.
requiresStateSaving() - Method in class universum.studios.android.widget.adapter.module.AdapterModule
Returns a boolean flag indicating whether this module requires state saving or not.
requiresStateSaving() - Method in class universum.studios.android.widget.adapter.module.SelectionModule
 
restoreInstanceState(Parcelable) - Method in class universum.studios.android.widget.adapter.BaseAdapter
 
restoreInstanceState(Parcelable) - Method in class universum.studios.android.widget.adapter.BaseRecyclerAdapter
 
restoreInstanceState(Parcelable) - Method in interface universum.studios.android.widget.adapter.DataSetAdapter
Restores the previous state, saved via DataSetAdapter.saveInstanceState(), of this adapter.
restoreInstanceState(Parcelable) - Method in class universum.studios.android.widget.adapter.module.SelectionModule
 

S

SavedState(Parcelable) - Constructor for class universum.studios.android.widget.adapter.module.SelectionModule.SavedState
Creates a new instance of SavedState with the given superState to allow chaining of saved states in SelectionModule.saveInstanceState() and also in SelectionModule.restoreInstanceState(Parcelable).
SavedState(Parcel) - Constructor for class universum.studios.android.widget.adapter.module.SelectionModule.SavedState
Called from SelectionModule.SavedState.CREATOR to create an instance of SavedState form the given parcel source.
saveInstanceState() - Method in class universum.studios.android.widget.adapter.BaseAdapter
 
saveInstanceState() - Method in class universum.studios.android.widget.adapter.BaseRecyclerAdapter
 
saveInstanceState() - Method in interface universum.studios.android.widget.adapter.DataSetAdapter
Saves the current state of this adapter.
saveInstanceState() - Method in class universum.studios.android.widget.adapter.module.SelectionModule
 
select(long) - Method in class universum.studios.android.widget.adapter.module.SelectionModule
Adds the specified id into the set of the currently selected ids.
selectAll() - Method in class universum.studios.android.widget.adapter.module.SelectionModule
Same as SelectionModule.selectRange(int, int) with parameters (0, ModuleAdapter.getItemCount()).
SelectionModule - Class in universum.studios.android.widget.adapter.module
An AdapterModule implementation that specifies API to support selection feature for the associated adapter.
SelectionModule() - Constructor for class universum.studios.android.widget.adapter.module.SelectionModule
 
SelectionModule.SavedState - Class in universum.studios.android.widget.adapter.module
An AdapterSavedState implementation used to ensure that the state of SelectionModule is properly saved.
SelectionModule.SelectionMode - Annotation Type in universum.studios.android.widget.adapter.module
Defines an annotation for determining set of allowed modes for SelectionModule.
selectRange(int, int) - Method in class universum.studios.android.widget.adapter.module.SelectionModule
Selects all ids in the [startPosition, startPosition + count) range and notifies adapter.
setAdapterNotificationEnabled(boolean) - Method in class universum.studios.android.widget.adapter.module.AdapterModule
Sets a boolean flag indicating whether the adapter to which is this module attached should be notified in case, when its data set has been changed due to changes made by this module.
setHeaderStyleAttr(int) - Method in class universum.studios.android.widget.adapter.module.HeadersModule
Sets an Xml attribute from the current theme, which contains a resource of style with attributes for header view which may be created via HeadersModule.createView(LayoutInflater, ViewGroup, int).
setMode(int) - Method in class universum.studios.android.widget.adapter.module.SelectionModule
Sets the current selection mode of this module to the specified one.
setSelected(long, boolean) - Method in class universum.studios.android.widget.adapter.module.SelectionModule
Changes selection state of the specified id to the desired one and notifies adapter.
setSelection(List<Long>) - Method in class universum.studios.android.widget.adapter.module.SelectionModule
Sets a selection for this module and notifies adapter.
SimpleAdapter<Item,VH> - Class in universum.studios.android.widget.adapter
A BaseAdapter implementation which specifies simple API for data set management of items.
SimpleAdapter(Context) - Constructor for class universum.studios.android.widget.adapter.SimpleAdapter
Creates a new instance of SimpleAdapter without initial items data set.
SimpleAdapter(Context, Item[]) - Constructor for class universum.studios.android.widget.adapter.SimpleAdapter
Same as SimpleAdapter.SimpleAdapter(Context, List) for array of initial items data set.
SimpleAdapter(Context, List<Item>) - Constructor for class universum.studios.android.widget.adapter.SimpleAdapter
Creates a new instance of SimpleAdapter with the given initial items data set.
SimpleHeader(CharSequence) - Constructor for class universum.studios.android.widget.adapter.module.HeadersModule.SimpleHeader
Creates a new instance of SimpleHeader with the given text value.
SimpleRecyclerAdapter<Item,VH extends RecyclerView.ViewHolder> - Class in universum.studios.android.widget.adapter
A BaseRecyclerAdapter implementation which specifies simple API for data set management of items.
SimpleRecyclerAdapter(Context) - Constructor for class universum.studios.android.widget.adapter.SimpleRecyclerAdapter
Creates a new instance of SimpleRecyclerAdapter without initial items data set.
SimpleRecyclerAdapter(Context, Item[]) - Constructor for class universum.studios.android.widget.adapter.SimpleRecyclerAdapter
Same as SimpleRecyclerAdapter.SimpleRecyclerAdapter(Context, List) for array of initial items data set.
SimpleRecyclerAdapter(Context, List<Item>) - Constructor for class universum.studios.android.widget.adapter.SimpleRecyclerAdapter
Creates a new instance of SimpleRecyclerAdapter with the given initial items data set.
SimpleSpinnerAdapter<Item,VH,DVH> - Class in universum.studios.android.widget.adapter
A BaseSpinnerAdapter implementation which specifies simple API for data set management of items.
SimpleSpinnerAdapter(Context) - Constructor for class universum.studios.android.widget.adapter.SimpleSpinnerAdapter
Creates a new instance of SimpleSpinnerAdapter without initial items data set.
SimpleSpinnerAdapter(Context, Item[]) - Constructor for class universum.studios.android.widget.adapter.SimpleSpinnerAdapter
Same as SimpleSpinnerAdapter.SimpleSpinnerAdapter(Context, List) for array of initial items data set.
SimpleSpinnerAdapter(Context, List<Item>) - Constructor for class universum.studios.android.widget.adapter.SimpleSpinnerAdapter
Creates a new instance of SimpleSpinnerAdapter with the given initial items data set.
SimpleViewHolder(View) - Constructor for class universum.studios.android.widget.adapter.BaseRecyclerAdapter.SimpleViewHolder
Creates a new instance of SimpleViewHolder for the specified itemView.
SINGLE - Static variable in class universum.studios.android.widget.adapter.module.SelectionModule
Mode that allows only a single item to be selected.
size() - Method in class universum.studios.android.widget.adapter.module.HeadersModule
Returns the count of headers in the current headers data set of this module.
swapItems(List<Item>) - Method in interface universum.studios.android.widget.adapter.ItemsAdapter
Changes items data set of this adapter and returns the old items data set.
swapItems(List<Item>) - Method in class universum.studios.android.widget.adapter.SimpleAdapter
 
swapItems(List<Item>) - Method in class universum.studios.android.widget.adapter.SimpleRecyclerAdapter
 
swapItems(List<Item>) - Method in class universum.studios.android.widget.adapter.SimpleSpinnerAdapter
 

T

toggleSelection(long) - Method in class universum.studios.android.widget.adapter.module.SelectionModule
Changes selection state of the specified id to the opposite one (selected -> unselected; unselected -> selected) and notifies adapter.

U

universum.studios.android.widget.adapter - package universum.studios.android.widget.adapter
Provides extended adapter classes for AdapterView and RecyclerView with holder-pattern support.
universum.studios.android.widget.adapter.module - package universum.studios.android.widget.adapter.module
Contains group of standalone modules that may be used within context of a specific adapter.
universum.studios.android.widget.adapter.wrapper - package universum.studios.android.widget.adapter.wrapper
 
unregisterDataSetObserver(DataSetObserver) - Method in class universum.studios.android.widget.adapter.wrapper.AdapterWrapper
 
unregisterOnDataChangeListener(OnDataChangeListener) - Method in class universum.studios.android.widget.adapter.BaseAdapter
 
unregisterOnDataChangeListener(OnDataChangeListener) - Method in class universum.studios.android.widget.adapter.BaseRecyclerAdapter
 
unregisterOnDataChangeListener(OnDataChangeListener) - Method in interface universum.studios.android.widget.adapter.DataSet
Unregisters the given callback from the data change listeners, so it will not receive any callbacks further.
unregisterOnDataSetActionListener(OnDataSetActionListener) - Method in class universum.studios.android.widget.adapter.BaseAdapter
 
unregisterOnDataSetActionListener(OnDataSetActionListener) - Method in class universum.studios.android.widget.adapter.BaseRecyclerAdapter
 
unregisterOnDataSetActionListener(OnDataSetActionListener) - Method in interface universum.studios.android.widget.adapter.DataSet
Unregisters the given callback from the data set action listeners, so it will not receive any callbacks further.
unregisterOnDataSetListener(OnDataSetListener) - Method in class universum.studios.android.widget.adapter.BaseAdapter
 
unregisterOnDataSetListener(OnDataSetListener) - Method in class universum.studios.android.widget.adapter.BaseRecyclerAdapter
 
unregisterOnDataSetListener(OnDataSetListener) - Method in interface universum.studios.android.widget.adapter.DataSet
Unregisters the given callback from the data set listeners, so it will not receive any callbacks further.

V

ViewHolder - Class in universum.studios.android.widget.adapter
Holder for a single item view of a specific BaseAdapter implementation that may be used to support the optimized holder pattern for BaseAdapter.getView(int, View, ViewGroup) method.
ViewHolder(View) - Constructor for class universum.studios.android.widget.adapter.ViewHolder
Creates a new instance of ViewHolder for the given itemView.

W

writeToParcel(Parcel, int) - Method in class universum.studios.android.widget.adapter.AdapterSavedState
 
writeToParcel(Parcel, int) - Method in class universum.studios.android.widget.adapter.module.SelectionModule.SavedState
 
A B C D E F G H I L M N O R S T U V W 
Skip navigation links
Android Widget Adapters 1.0.0 Documentation