Skip navigation links
A C D E F G H I L M N O P R S U V 

A

ActionModeCompat - Class in com.globusltd.recyclerview.choice
Represents a contextual mode of the user interface.
Adapter<E,VH extends RecyclerView.ViewHolder> - Class in com.globusltd.recyclerview
Base RecyclerView.Adapter that holds a reference to the Datasource object.
Adapter() - Constructor for class com.globusltd.recyclerview.Adapter
 
Adapter(Datasource<? extends E>) - Constructor for class com.globusltd.recyclerview.Adapter
 
Adapter(Datasource<? extends E>, DiffCallbackFactory<E>) - Constructor for class com.globusltd.recyclerview.Adapter
 
AdapterDatasourceObserver - Class in com.globusltd.recyclerview
Observer class for watching changes to a Datasource and dispatching them to the RecyclerView.Adapter.
add(E) - Method in class com.globusltd.recyclerview.datasource.ListDatasource
Adds a data entity to the end.
add(int, E) - Method in class com.globusltd.recyclerview.datasource.ListDatasource
Adds a data entity to a given position.
addAll(List<? extends E>) - Method in class com.globusltd.recyclerview.datasource.ListDatasource
Adds all data entities to the end.
addAll(int, List<? extends E>) - Method in class com.globusltd.recyclerview.datasource.ListDatasource
Adds all data entities after the specified position.
areContentsTheSame(E, E) - Method in interface com.globusltd.recyclerview.diff.ParameterizedDiffCallback
Called by the DiffUtil when it wants to check whether two items have the same data.
areContentsTheSame(int, int) - Method in class com.globusltd.recyclerview.diff.SimpleDatasourcesDiffCallback
 
areItemsTheSame(E, E) - Method in interface com.globusltd.recyclerview.diff.ParameterizedDiffCallback
Called by the DiffUtil to decide whether two object represent the same Item.
areItemsTheSame(int, int) - Method in class com.globusltd.recyclerview.diff.SimpleDatasourcesDiffCallback
 

C

CheckableViewHolder - Interface in com.globusltd.recyclerview.choice
Defines an extension for view holders that make them able to handle choice mode.
ChoiceMode - Interface in com.globusltd.recyclerview.choice
Interface describes choice mode.
ChoiceModeHelper<E> - Class in com.globusltd.recyclerview.view
This is an utility class to add choice mode support to RecyclerView.
ChoiceModeHelper(ItemClickHelper.Callback<E>) - Constructor for class com.globusltd.recyclerview.view.ChoiceModeHelper
 
ChoiceModeHelper(ItemClickHelper.Callback<E>, ChoiceMode) - Constructor for class com.globusltd.recyclerview.view.ChoiceModeHelper
 
ChoiceModeObservable - Class in com.globusltd.recyclerview.choice
ChoiceModeObservable provides methods for registering, unregistering and dispatching the selection of the item changes in the choice mode to the registered ChoiceModeObservers.
ChoiceModeObservable() - Constructor for class com.globusltd.recyclerview.choice.ChoiceModeObservable
 
ChoiceModeObserver - Class in com.globusltd.recyclerview.choice
Observer base class for watching changes to a ChoiceMode.
ChoiceModeObserver() - Constructor for class com.globusltd.recyclerview.choice.ChoiceModeObserver
 
clear() - Method in class com.globusltd.recyclerview.datasource.ListDatasource
Removes all of the elements from this datastore.
clearChoices() - Method in interface com.globusltd.recyclerview.choice.ChoiceMode
Clears any checked items.
clearChoices() - Method in class com.globusltd.recyclerview.choice.MultipleChoiceMode
Clears any checked items.
clearChoices() - Method in class com.globusltd.recyclerview.choice.MultipleModalChoiceMode
Clears any checked items.
clearChoices() - Method in class com.globusltd.recyclerview.choice.NoneChoiceMode
Clears any checked items.
clearChoices() - Method in class com.globusltd.recyclerview.choice.SingleChoiceMode
Clears any checked items.
clearChoices() - Method in class com.globusltd.recyclerview.choice.SingleModalChoiceMode
Clears any checked items.
ClickableViews - Class in com.globusltd.recyclerview.view
Simple data class that keeps identifiers of clickable views.
ClickableViews(int) - Constructor for class com.globusltd.recyclerview.view.ClickableViews
 
ClickableViews(int, int...) - Constructor for class com.globusltd.recyclerview.view.ClickableViews
 
close() - Method in class com.globusltd.recyclerview.datasource.CursorDatasource
com.globusltd.recyclerview - package com.globusltd.recyclerview
 
com.globusltd.recyclerview.choice - package com.globusltd.recyclerview.choice
 
com.globusltd.recyclerview.datasource - package com.globusltd.recyclerview.datasource
 
com.globusltd.recyclerview.diff - package com.globusltd.recyclerview.diff
 
com.globusltd.recyclerview.lifecycle - package com.globusltd.recyclerview.lifecycle
 
com.globusltd.recyclerview.util - package com.globusltd.recyclerview.util
 
com.globusltd.recyclerview.view - package com.globusltd.recyclerview.view
 
createDiffCallback(Datasource<? extends E>, Datasource<? extends E>) - Method in interface com.globusltd.recyclerview.diff.DiffCallbackFactory
 
CursorDatasource - Class in com.globusltd.recyclerview.datasource
Datasource implementation that uses Cursor as the underlying data storage.
CursorDatasource(Cursor) - Constructor for class com.globusltd.recyclerview.datasource.CursorDatasource
 

D

Datasource<E> - Interface in com.globusltd.recyclerview.datasource
Datasource is an abstraction over elements storage.
DatasourceObservable - Class in com.globusltd.recyclerview.datasource
DatasourceObservable provides methods for registering, unregistering and dispatching data changes in the datasources to the registered DatasourceObservers.
DatasourceObservable() - Constructor for class com.globusltd.recyclerview.datasource.DatasourceObservable
 
DatasourceObserver - Class in com.globusltd.recyclerview.datasource
Observer base class for watching changes to a Datasource.
DatasourceObserver() - Constructor for class com.globusltd.recyclerview.datasource.DatasourceObserver
 
DatasourceOwner<E> - Class in com.globusltd.recyclerview.datasource
 
DatasourceOwner(DatasourceProxy<E>, DatasourceObserver) - Constructor for class com.globusltd.recyclerview.datasource.DatasourceOwner
 
DatasourceProxy<E> - Class in com.globusltd.recyclerview.datasource
 
DatasourceProxy(Datasource<? extends E>, DiffCallbackFactory<E>) - Constructor for class com.globusltd.recyclerview.datasource.DatasourceProxy
 
Datasources - Class in com.globusltd.recyclerview.datasource
 
DatasourceSwappable<E> - Interface in com.globusltd.recyclerview
Interface describes component that supports replacing internal Datasource without interruption to the system.
DiffCallback - Class in com.globusltd.recyclerview.diff
A callback class used by DiffUtil while calculating the diff between two lists.
DiffCallback(boolean) - Constructor for class com.globusltd.recyclerview.diff.DiffCallback
 
DiffCallbackFactory<E> - Interface in com.globusltd.recyclerview.diff
Factory that allows to create DiffCallback for two Datasources.

E

empty() - Static method in class com.globusltd.recyclerview.datasource.Datasources
Returns an empty datasource (immutable).
EnchancedGestureDetector - Class in com.globusltd.recyclerview.view
Detects various gestures and events using the supplied MotionEvents.
EnchancedGestureDetector(Context, EnchancedGestureDetector.OnGestureListener) - Constructor for class com.globusltd.recyclerview.view.EnchancedGestureDetector
Creates a EnchancedGestureDetector with the supplied listener.
EnchancedGestureDetector.OnGestureListener - Interface in com.globusltd.recyclerview.view
The listener that is used to notify when gestures occur.
EnchancedGestureDetector.SimpleOnGestureListener - Class in com.globusltd.recyclerview.view
A convenience class to extend when you only want to listen for a subset of all the gestures.

F

finish() - Method in class com.globusltd.recyclerview.choice.MultipleModalChoiceMode
Finish and close this action mode.
finish() - Method in class com.globusltd.recyclerview.choice.SingleModalChoiceMode
Finish and close this action mode.
from(Fragment) - Static method in class com.globusltd.recyclerview.choice.ActionModeCompat
Creates ActionModeCompat for Fragment.
from(AppCompatActivity) - Static method in class com.globusltd.recyclerview.choice.ActionModeCompat
Creates ActionModeCompat for AppCompatActivity.

G

get(int) - Method in class com.globusltd.recyclerview.datasource.CursorDatasource
Returns the element at the specified position.
get(int) - Method in interface com.globusltd.recyclerview.datasource.Datasource
Returns the element at the specified position.
get(int) - Method in class com.globusltd.recyclerview.datasource.DatasourceProxy
 
get(int) - Method in class com.globusltd.recyclerview.datasource.ListDatasource
Returns the element at the specified position.
get(int) - Method in interface com.globusltd.recyclerview.view.ItemClickHelper.Callback
Returns the element at the specified position.
getChangePayload(E, E) - Method in interface com.globusltd.recyclerview.diff.ParameterizedDiffCallback
When #areItemsTheSame(E, E) returns true for two items and #areContentsTheSame(E, E) returns false for them, DiffUtil calls this method to get a payload about the change.
getChangePayload(int, int) - Method in class com.globusltd.recyclerview.diff.SimpleDatasourcesDiffCallback
 
getChangePayload(E, E) - Method in class com.globusltd.recyclerview.diff.SimpleDatasourcesDiffCallback
When #areItemsTheSame(E, E) returns true for two items and #areContentsTheSame(E, E) returns false for them, DiffUtil calls this method to get a payload about the change.
getCheckedItem() - Method in class com.globusltd.recyclerview.choice.SingleChoiceMode
Returns an identifier of checked item or RecyclerView#NO_ID if no item is checked.
getCheckedItem() - Method in class com.globusltd.recyclerview.choice.SingleModalChoiceMode
Returns an identifier of checked item or RecyclerView#NO_ID if no item is checked.
getCheckedItemCount() - Method in interface com.globusltd.recyclerview.choice.ChoiceMode
Returns the number of items currently selected.
getCheckedItemCount() - Method in class com.globusltd.recyclerview.choice.MultipleChoiceMode
Returns the number of items currently selected.
getCheckedItemCount() - Method in class com.globusltd.recyclerview.choice.MultipleModalChoiceMode
Returns the number of items currently selected.
getCheckedItemCount() - Method in class com.globusltd.recyclerview.choice.NoneChoiceMode
Returns the number of items currently selected.
getCheckedItemCount() - Method in class com.globusltd.recyclerview.choice.SingleChoiceMode
Returns the number of items currently selected.
getCheckedItemCount() - Method in class com.globusltd.recyclerview.choice.SingleModalChoiceMode
Returns the number of items currently selected.
getCheckedItems() - Method in class com.globusltd.recyclerview.choice.MultipleChoiceMode
Returns an unsorted LongArrayList of checked item ids.
getCheckedItems() - Method in class com.globusltd.recyclerview.choice.MultipleModalChoiceMode
Returns an unsorted LongArrayList of checked item ids.
getClickableViews(int, int) - Method in interface com.globusltd.recyclerview.view.ItemClickHelper.Callback
Returns information about all of the clickable views at specified position.
getDatasource() - Method in class com.globusltd.recyclerview.Adapter
 
getDatasource() - Method in class com.globusltd.recyclerview.datasource.DatasourceOwner
 
getItemCount() - Method in class com.globusltd.recyclerview.Adapter
getNewListSize() - Method in class com.globusltd.recyclerview.diff.SimpleDatasourcesDiffCallback
 
getOldListSize() - Method in class com.globusltd.recyclerview.diff.SimpleDatasourcesDiffCallback
 
getRecyclerView() - Method in class com.globusltd.recyclerview.RecyclerViewOwner
Returns a RecyclerView instance this class is bond to.

H

hasObservers() - Method in class com.globusltd.recyclerview.util.Observable
Checks if this observable has any registered observers.

I

isActivated() - Method in interface com.globusltd.recyclerview.choice.ChoiceMode
Returns true if choice mode is active.
isActivated() - Method in class com.globusltd.recyclerview.choice.MultipleChoiceMode
Returns true if choice mode is active.
isActivated() - Method in class com.globusltd.recyclerview.choice.MultipleModalChoiceMode
Returns true if choice mode is active.
isActivated() - Method in class com.globusltd.recyclerview.choice.NoneChoiceMode
Returns true if choice mode is active.
isActivated() - Method in class com.globusltd.recyclerview.choice.SingleChoiceMode
Returns true if choice mode is active.
isActivated() - Method in class com.globusltd.recyclerview.choice.SingleModalChoiceMode
Returns true if choice mode is active.
isAttached() - Method in class com.globusltd.recyclerview.choice.ObservableChoiceMode
Returns true when choice mode is attached to adapter and RecyclerView.
isEnabled(int) - Method in interface com.globusltd.recyclerview.view.SimpleEnableBehavior.Callback
Returns true if the item at the specified position is clickable.
isItemChecked(long) - Method in interface com.globusltd.recyclerview.choice.ChoiceMode
Returns the checked state of the specified position.
isItemChecked(long) - Method in class com.globusltd.recyclerview.choice.MultipleChoiceMode
Returns the checked state of the specified position.
isItemChecked(long) - Method in class com.globusltd.recyclerview.choice.MultipleModalChoiceMode
Returns the checked state of the specified position.
isItemChecked(long) - Method in class com.globusltd.recyclerview.choice.NoneChoiceMode
Returns the checked state of the specified position.
isItemChecked(long) - Method in class com.globusltd.recyclerview.choice.SingleChoiceMode
Returns the checked state of the specified position.
isItemChecked(long) - Method in class com.globusltd.recyclerview.choice.SingleModalChoiceMode
Returns the checked state of the specified position.
isLongPressEnabled() - Method in class com.globusltd.recyclerview.view.ChoiceModeHelper
isLongPressEnabled() - Method in class com.globusltd.recyclerview.view.ItemClickHelper
 
ITEM_VIEW - Static variable in class com.globusltd.recyclerview.view.ClickableViews
Default clickable views info that makes clickable only RecyclerView.ViewHolder.
ITEM_VIEW_ID - Static variable in class com.globusltd.recyclerview.view.ClickableViews
Use this to describe RecyclerView.ViewHolder.
ItemClickHelper<E> - Class in com.globusltd.recyclerview.view
This is an utility class to add item click and item long click support to RecyclerView.
ItemClickHelper(ItemClickHelper.Callback<E>) - Constructor for class com.globusltd.recyclerview.view.ItemClickHelper
 
ItemClickHelper.Callback<E> - Interface in com.globusltd.recyclerview.view
This interface is the contract between ItemClickHelper and your application.

L

LifecycleBehavior - Class in com.globusltd.recyclerview.lifecycle
This is a class to provide common lifecycle events to the RecyclerView.ViewHolder.
LifecycleBehavior(LifecycleComposite) - Constructor for class com.globusltd.recyclerview.lifecycle.LifecycleBehavior
 
LifecycleCallbacks - Interface in com.globusltd.recyclerview.lifecycle
The set of lifecycle callback APIs that are common to all UI components (Activity, Fragment, Fragment).
LifecycleComposite - Class in com.globusltd.recyclerview.lifecycle
LifecycleComposite provides lifecycle events to the registered LifecycleCallbacks objects.
LifecycleComposite() - Constructor for class com.globusltd.recyclerview.lifecycle.LifecycleComposite
 
ListDatasource<E> - Class in com.globusltd.recyclerview.datasource
Datasource implementation that uses ArrayList of the elements as the underlying data storage.
ListDatasource() - Constructor for class com.globusltd.recyclerview.datasource.ListDatasource
 
ListDatasource(List<? extends E>) - Constructor for class com.globusltd.recyclerview.datasource.ListDatasource
 

M

mObservers - Variable in class com.globusltd.recyclerview.util.Observable
The list of observers.
ModalChoiceModeListener - Interface in com.globusltd.recyclerview.choice
A ModalChoiceModeListener receives events for this choice mode.
move(int, int) - Method in class com.globusltd.recyclerview.datasource.ListDatasource
Moves entity from one position to another.
MultipleChoiceMode - Class in com.globusltd.recyclerview.choice
ChoiceMode that allows any number of items to be chosen.
MultipleChoiceMode() - Constructor for class com.globusltd.recyclerview.choice.MultipleChoiceMode
 
MultipleChoiceMode(Bundle) - Constructor for class com.globusltd.recyclerview.choice.MultipleChoiceMode
 
MultipleModalChoiceMode - Class in com.globusltd.recyclerview.choice
ChoiceMode that allows multiple choices in a modal selection mode.
MultipleModalChoiceMode(ActionModeCompat, ModalChoiceModeListener) - Constructor for class com.globusltd.recyclerview.choice.MultipleModalChoiceMode
 
MultipleModalChoiceMode(ActionModeCompat, ModalChoiceModeListener, Bundle) - Constructor for class com.globusltd.recyclerview.choice.MultipleModalChoiceMode
 

N

NO_ID - Static variable in class com.globusltd.recyclerview.view.ClickableViews
Used to mark a view that has no ID.
NONE - Static variable in class com.globusltd.recyclerview.view.ClickableViews
Default clickable views info that makes no view clickable.
NoneChoiceMode - Class in com.globusltd.recyclerview.choice
ChoiceMode that does not have any choice behavior.
NoneChoiceMode() - Constructor for class com.globusltd.recyclerview.choice.NoneChoiceMode
 
notifyAllItemsCheckedChanged(boolean) - Method in class com.globusltd.recyclerview.choice.ChoiceModeObservable
Notifies the registered observers that the selection of the all items in the choice mode have been changed.
notifyAllItemsCheckedChanged(boolean) - Method in class com.globusltd.recyclerview.choice.ChoiceModeObserver
Called when the selection of the all items in the choice mode have been changed.
notifyAllItemsCheckedChanged(boolean) - Method in class com.globusltd.recyclerview.choice.ObservableChoiceMode
Notifies the registered observers that the selection of the all items in the choice mode have been changed.
notifyChanged() - Method in class com.globusltd.recyclerview.datasource.DatasourceObservable
Notifies the registered observers that the data in the datasource have been changed.
notifyItemCheckedChanged(long, boolean) - Method in class com.globusltd.recyclerview.choice.ChoiceModeObservable
Notifies the registered observers that the selection of the item in the choice mode have been changed.
notifyItemCheckedChanged(long, boolean) - Method in class com.globusltd.recyclerview.choice.ObservableChoiceMode
Notifies the registered observers that the selection of the item in the choice mode have been changed.
notifyItemMoved(int, int) - Method in class com.globusltd.recyclerview.datasource.DatasourceObservable
Notifies the registered observers that the data have been moved to the another position in the datasource.
notifyItemRangeChanged(int, int, Object) - Method in class com.globusltd.recyclerview.datasource.DatasourceObservable
Notifies the registered observers that the data in the datasource have been changed.
notifyItemRangeInserted(int, int) - Method in class com.globusltd.recyclerview.datasource.DatasourceObservable
Notifies the registered observers that the new data have been inserted to the datasource.
notifyItemRangeRemoved(int, int) - Method in class com.globusltd.recyclerview.datasource.DatasourceObservable
Notifies the registered observers that the data have been removed from the datasource.
notifyLongpressEnabledChanged() - Method in class com.globusltd.recyclerview.view.ItemClickHelper
Notify ItemClickHelper that long press enabled state has changed.

O

Observable<T> - Class in com.globusltd.recyclerview.util
Provides methods for registering or unregistering arbitrary observers in an ArrayList.
Observable() - Constructor for class com.globusltd.recyclerview.util.Observable
 
ObservableChoiceMode - Class in com.globusltd.recyclerview.choice
Base class for any choice mode.
ObservableChoiceMode() - Constructor for class com.globusltd.recyclerview.choice.ObservableChoiceMode
 
onAttached(RecyclerView.ViewHolder) - Method in class com.globusltd.recyclerview.lifecycle.LifecycleBehavior
Called when a view created by adapter has been attached to a data.
onAttached(RecyclerView.ViewHolder) - Method in class com.globusltd.recyclerview.view.SimpleEnableBehavior
Called when a view created by adapter has been attached to a data.
onAttached(RecyclerView.ViewHolder) - Method in interface com.globusltd.recyclerview.ViewHolderObserver
Called when a view created by adapter has been attached to a data.
onAttachedToRecyclerView(RecyclerView) - Method in class com.globusltd.recyclerview.Adapter
onAttachedToRecyclerView(RecyclerView) - Method in class com.globusltd.recyclerview.datasource.DatasourceOwner
onAttachedToRecyclerView(RecyclerView) - Method in class com.globusltd.recyclerview.RecyclerViewOwner
Called by RecyclerViewOwner when RecyclerView is attached.
onAttachedToRecyclerView(RecyclerView) - Method in class com.globusltd.recyclerview.view.ChoiceModeHelper
Called by RecyclerViewOwner when RecyclerView is attached.
onAttachedToRecyclerView(RecyclerView) - Method in class com.globusltd.recyclerview.view.ItemClickHelper
Called by RecyclerViewOwner when RecyclerView is attached.
onAttachedToRecyclerView(RecyclerView) - Method in class com.globusltd.recyclerview.ViewHolderTracker
Called by RecyclerViewOwner when RecyclerView is attached.
onBindViewHolder(VH, int) - Method in class com.globusltd.recyclerview.Adapter
 
onBindViewHolder(VH, E, int) - Method in class com.globusltd.recyclerview.Adapter
Called by RecyclerView to display the data at the specified position.
onBindViewHolder(VH, int, List<Object>) - Method in class com.globusltd.recyclerview.Adapter
 
onBindViewHolder(VH, E, int, List<Object>) - Method in class com.globusltd.recyclerview.Adapter
Called by RecyclerView to display the data at the specified position.
onChanged() - Method in class com.globusltd.recyclerview.AdapterDatasourceObserver
Called when the data in the datasource have been changed.
onChanged() - Method in class com.globusltd.recyclerview.datasource.DatasourceObserver
Called when the data in the datasource have been changed.
onChanged(RecyclerView.ViewHolder) - Method in class com.globusltd.recyclerview.lifecycle.LifecycleBehavior
Called when a view holder data item has been changed.
onChanged(RecyclerView.ViewHolder) - Method in class com.globusltd.recyclerview.view.SimpleEnableBehavior
Called when a view holder data item has been changed.
onChanged(RecyclerView.ViewHolder) - Method in interface com.globusltd.recyclerview.ViewHolderObserver
Called when a view holder data item has been changed.
onClick(long) - Method in interface com.globusltd.recyclerview.choice.ChoiceMode
Dispatches click on a specific item.
onClick(long) - Method in class com.globusltd.recyclerview.choice.MultipleChoiceMode
 
onClick(long) - Method in class com.globusltd.recyclerview.choice.MultipleModalChoiceMode
 
onClick(long) - Method in class com.globusltd.recyclerview.choice.NoneChoiceMode
Dispatches click on a specific item.
onClick(long) - Method in class com.globusltd.recyclerview.choice.SingleChoiceMode
Dispatches click on a specific item.
onClick(long) - Method in class com.globusltd.recyclerview.choice.SingleModalChoiceMode
 
onCreateViewHolder(ViewGroup, int) - Method in class com.globusltd.recyclerview.Adapter
 
onCreateViewHolder(LayoutInflater, ViewGroup, int) - Method in class com.globusltd.recyclerview.Adapter
Called when RecyclerView needs a new RecyclerView.ViewHolder of the given type to represent an item.
onDetached(RecyclerView.ViewHolder) - Method in class com.globusltd.recyclerview.lifecycle.LifecycleBehavior
Called when a view created by adapter has been detached from its data.
onDetached(RecyclerView.ViewHolder) - Method in class com.globusltd.recyclerview.view.SimpleEnableBehavior
Called when a view created by adapter has been detached from its data.
onDetached(RecyclerView.ViewHolder) - Method in interface com.globusltd.recyclerview.ViewHolderObserver
Called when a view created by adapter has been detached from its data.
onDetachedFromRecyclerView(RecyclerView) - Method in class com.globusltd.recyclerview.Adapter
onDetachedFromRecyclerView(RecyclerView) - Method in class com.globusltd.recyclerview.datasource.DatasourceOwner
onDetachedFromRecyclerView(RecyclerView) - Method in class com.globusltd.recyclerview.RecyclerViewOwner
Called by RecyclerViewOwner when RecyclerView is detached.
onDetachedFromRecyclerView(RecyclerView) - Method in class com.globusltd.recyclerview.view.ChoiceModeHelper
Called by RecyclerViewOwner when RecyclerView is detached.
onDetachedFromRecyclerView(RecyclerView) - Method in class com.globusltd.recyclerview.view.ItemClickHelper
Called by RecyclerViewOwner when RecyclerView is detached.
onDetachedFromRecyclerView(RecyclerView) - Method in class com.globusltd.recyclerview.ViewHolderTracker
Called by RecyclerViewOwner when RecyclerView is detached.
onDown(MotionEvent) - Method in class com.globusltd.recyclerview.view.EnchancedGestureDetector
onDown(MotionEvent) - Method in interface com.globusltd.recyclerview.view.EnchancedGestureDetector.OnGestureListener
Notified when a tap occurs with the down MotionEvent that triggered it.
onDown(MotionEvent) - Method in class com.globusltd.recyclerview.view.EnchancedGestureDetector.SimpleOnGestureListener
Notified when a tap occurs with the down MotionEvent that triggered it.
onEnabledChanged(RecyclerView.ViewHolder, boolean) - Method in class com.globusltd.recyclerview.view.RecursiveEnableBehavior
Recursively applies enabled state to the RecyclerView.ViewHolder#itemView and its child views.
onEnabledChanged(RecyclerView.ViewHolder, boolean) - Method in class com.globusltd.recyclerview.view.SimpleEnableBehavior
Called when enabled state is changed.
onFling(MotionEvent, MotionEvent, float, float) - Method in class com.globusltd.recyclerview.view.EnchancedGestureDetector
onFling(MotionEvent, MotionEvent, float, float) - Method in interface com.globusltd.recyclerview.view.EnchancedGestureDetector.OnGestureListener
Notified of a fling event when it occurs with the initial on down MotionEvent and the matching up MotionEvent.
onFling(MotionEvent, MotionEvent, float, float) - Method in class com.globusltd.recyclerview.view.EnchancedGestureDetector.SimpleOnGestureListener
Notified of a fling event when it occurs with the initial on down MotionEvent and the matching up MotionEvent.
onHidePress() - Method in interface com.globusltd.recyclerview.view.EnchancedGestureDetector.OnGestureListener
The user has performed a move or up MotionEvent.
onHidePress() - Method in class com.globusltd.recyclerview.view.EnchancedGestureDetector.SimpleOnGestureListener
The user has performed a move or up MotionEvent.
onItemCheckedChanged(long, boolean) - Method in class com.globusltd.recyclerview.choice.ChoiceModeObserver
Called when the selection of the item in the choice mode have been changed.
onItemCheckedStateChanged(ActionMode, long, boolean, boolean) - Method in interface com.globusltd.recyclerview.choice.ModalChoiceModeListener
Called when an item is checked or unchecked during selection mode.
onItemCheckedStateChanged(long, boolean, boolean) - Method in interface com.globusltd.recyclerview.choice.SimpleChoiceModeListener
Called when an item is checked or unchecked during selection mode.
onItemClick(View, E, int) - Method in interface com.globusltd.recyclerview.view.OnItemClickListener
Callback method to be invoked when an item in this AdapterView has been clicked.
OnItemClickListener<E> - Interface in com.globusltd.recyclerview.view
Interface definition for a callback to be invoked when an item in this AdapterView has been clicked.
onItemLongClick(View, E, int) - Method in interface com.globusltd.recyclerview.view.OnItemLongClickListener
Callback method to be invoked when an item in this AdapterView has been clicked and held.
OnItemLongClickListener<E> - Interface in com.globusltd.recyclerview.view
Interface definition for a callback to be invoked when an item in this AdapterView has been clicked and held.
onItemMoved(int, int) - Method in class com.globusltd.recyclerview.AdapterDatasourceObserver
Called when the data have been moved to the another position in the datasource.
onItemMoved(int, int) - Method in class com.globusltd.recyclerview.datasource.DatasourceObserver
Called when the data have been moved to the another position in the datasource.
onItemRangeChanged(int, int, Object) - Method in class com.globusltd.recyclerview.AdapterDatasourceObserver
Called when the data in the datasource have been changed.
onItemRangeChanged(int, int, Object) - Method in class com.globusltd.recyclerview.datasource.DatasourceObserver
Called when the data in the datasource have been changed.
onItemRangeInserted(int, int) - Method in class com.globusltd.recyclerview.AdapterDatasourceObserver
Called when the new data have been inserted to the datasource.
onItemRangeInserted(int, int) - Method in class com.globusltd.recyclerview.datasource.DatasourceObserver
Called when the new data have been inserted to the datasource.
onItemRangeRemoved(int, int) - Method in class com.globusltd.recyclerview.AdapterDatasourceObserver
Called when the new data have been removed from the datasource.
onItemRangeRemoved(int, int) - Method in class com.globusltd.recyclerview.datasource.DatasourceObserver
Called when the new data have been removed from the datasource.
onLongClick(long) - Method in interface com.globusltd.recyclerview.choice.ChoiceMode
Dispatches long click on a specific item.
onLongClick(long) - Method in class com.globusltd.recyclerview.choice.MultipleChoiceMode
 
onLongClick(long) - Method in class com.globusltd.recyclerview.choice.MultipleModalChoiceMode
 
onLongClick(long) - Method in class com.globusltd.recyclerview.choice.NoneChoiceMode
Dispatches long click on a specific item.
onLongClick(long) - Method in class com.globusltd.recyclerview.choice.SingleChoiceMode
Dispatches long click on a specific item.
onLongClick(long) - Method in class com.globusltd.recyclerview.choice.SingleModalChoiceMode
 
onLongPress(MotionEvent) - Method in interface com.globusltd.recyclerview.view.EnchancedGestureDetector.OnGestureListener
Notified when a long press occurs with the initial on down MotionEvent that trigged it.
onLongPress(MotionEvent) - Method in class com.globusltd.recyclerview.view.EnchancedGestureDetector
onLongPress(MotionEvent) - Method in class com.globusltd.recyclerview.view.EnchancedGestureDetector.SimpleOnGestureListener
Notified when a long press occurs with the initial on down MotionEvent that trigged it.
onPause() - Method in interface com.globusltd.recyclerview.lifecycle.LifecycleCallbacks
This method should be called when the activity or fragment is being paused.
onPause() - Method in class com.globusltd.recyclerview.lifecycle.LifecycleComposite
This method should be called when the activity or fragment is being paused.
onPositionChanged(RecyclerView.ViewHolder) - Method in class com.globusltd.recyclerview.lifecycle.LifecycleBehavior
Called when a view holder position has been changed, but data item associated with this view holder has not been changed.
onPositionChanged(RecyclerView.ViewHolder) - Method in class com.globusltd.recyclerview.view.SimpleEnableBehavior
Called when a view holder position has been changed, but data item associated with this view holder has not been changed.
onPositionChanged(RecyclerView.ViewHolder) - Method in interface com.globusltd.recyclerview.ViewHolderObserver
Called when a view holder position has been changed, but data item associated with this view holder has not been changed.
onResume() - Method in interface com.globusltd.recyclerview.lifecycle.LifecycleCallbacks
This method will be called when the activity or fragment is being resumed.
onResume() - Method in class com.globusltd.recyclerview.lifecycle.LifecycleComposite
This method will be called when the activity or fragment is being resumed.
onSaveInstanceState(Bundle) - Method in class com.globusltd.recyclerview.choice.MultipleChoiceMode
Call this method to retrieve per-instance state before UI component being killed so that the state can be restored via constructor.
onSaveInstanceState(Bundle) - Method in class com.globusltd.recyclerview.choice.MultipleModalChoiceMode
Call this method to retrieve per-instance state before UI component being killed so that the state can be restored via constructor.
onSaveInstanceState(Bundle) - Method in class com.globusltd.recyclerview.choice.SingleChoiceMode
Call this method to retrieve per-instance state before UI component being killed so that the state can be restored via constructor.
onSaveInstanceState(Bundle) - Method in class com.globusltd.recyclerview.choice.SingleModalChoiceMode
Call this method to retrieve per-instance state before UI component being killed so that the state can be restored via constructor.
onScroll(MotionEvent, MotionEvent, MotionEvent, float, float) - Method in interface com.globusltd.recyclerview.view.EnchancedGestureDetector.OnGestureListener
Notified when a scroll occurs with the initial on down MotionEvent and the current move MotionEvent.
onScroll(MotionEvent, MotionEvent, float, float) - Method in class com.globusltd.recyclerview.view.EnchancedGestureDetector
onScroll(MotionEvent, MotionEvent, MotionEvent, float, float) - Method in class com.globusltd.recyclerview.view.EnchancedGestureDetector.SimpleOnGestureListener
Notified when a scroll occurs with the initial on down MotionEvent and the current move MotionEvent.
onScrollBegin(MotionEvent) - Method in interface com.globusltd.recyclerview.view.EnchancedGestureDetector.OnGestureListener
Notified when a scroll begins with the initial on down MotionEvent
onScrollBegin(MotionEvent) - Method in class com.globusltd.recyclerview.view.EnchancedGestureDetector.SimpleOnGestureListener
Notified when a scroll begins with the initial on down MotionEvent
onShowPress(MotionEvent) - Method in interface com.globusltd.recyclerview.view.EnchancedGestureDetector.OnGestureListener
The user has performed a down MotionEvent and not performed a move or up yet.
onShowPress(MotionEvent) - Method in class com.globusltd.recyclerview.view.EnchancedGestureDetector
onShowPress(MotionEvent) - Method in class com.globusltd.recyclerview.view.EnchancedGestureDetector.SimpleOnGestureListener
The user has performed a down MotionEvent and not performed a move or up yet.
onSingleTapUp(MotionEvent) - Method in interface com.globusltd.recyclerview.view.EnchancedGestureDetector.OnGestureListener
Notified when a tap occurs with the up MotionEvent that triggered it.
onSingleTapUp(MotionEvent) - Method in class com.globusltd.recyclerview.view.EnchancedGestureDetector
onSingleTapUp(MotionEvent) - Method in class com.globusltd.recyclerview.view.EnchancedGestureDetector.SimpleOnGestureListener
Notified when a tap occurs with the up MotionEvent that triggered it.
onStart() - Method in interface com.globusltd.recyclerview.lifecycle.LifecycleCallbacks
This method will be called when the activity or fragment is being started.
onStart() - Method in class com.globusltd.recyclerview.lifecycle.LifecycleComposite
This method will be called when the activity or fragment is being started.
onStop() - Method in interface com.globusltd.recyclerview.lifecycle.LifecycleCallbacks
This method will be called when the activity or fragment is being stopped.
onStop() - Method in class com.globusltd.recyclerview.lifecycle.LifecycleComposite
This method will be called when the activity or fragment is being stopped.
onTouchEvent(MotionEvent) - Method in class com.globusltd.recyclerview.view.EnchancedGestureDetector
Analyzes the given motion event and if applicable triggers the appropriate callbacks on the EnchancedGestureDetector.OnGestureListener supplied.
onUp(MotionEvent) - Method in interface com.globusltd.recyclerview.view.EnchancedGestureDetector.OnGestureListener
 
onUp(MotionEvent) - Method in class com.globusltd.recyclerview.view.EnchancedGestureDetector.SimpleOnGestureListener

P

ParameterizedDiffCallback<E> - Interface in com.globusltd.recyclerview.diff
 
performClick(RecyclerView.ViewHolder, View) - Method in class com.globusltd.recyclerview.view.ChoiceModeHelper
performClick(RecyclerView.ViewHolder, View) - Method in class com.globusltd.recyclerview.view.ItemClickHelper
 
performLongPress(RecyclerView.ViewHolder, View) - Method in class com.globusltd.recyclerview.view.ChoiceModeHelper
performLongPress(RecyclerView.ViewHolder, View) - Method in class com.globusltd.recyclerview.view.ItemClickHelper
 

R

RecursiveEnableBehavior - Class in com.globusltd.recyclerview.view
This is a class to recursively enable or disable RecyclerView.ViewHolder's item view and its child views according to enabled state returned by Callback#isEnabled(int).
RecursiveEnableBehavior(SimpleEnableBehavior.Callback) - Constructor for class com.globusltd.recyclerview.view.RecursiveEnableBehavior
 
RecyclerViewOwner - Class in com.globusltd.recyclerview
 
RecyclerViewOwner() - Constructor for class com.globusltd.recyclerview.RecyclerViewOwner
 
registerChoiceModeObserver(ChoiceModeObserver) - Method in interface com.globusltd.recyclerview.choice.ChoiceMode
Register a new observer to listen for selection changes.
registerChoiceModeObserver(ChoiceModeObserver) - Method in class com.globusltd.recyclerview.choice.MultipleModalChoiceMode
Register a new observer to listen for selection changes.
registerChoiceModeObserver(ChoiceModeObserver) - Method in class com.globusltd.recyclerview.choice.NoneChoiceMode
Register a new observer to listen for selection changes.
registerChoiceModeObserver(ChoiceModeObserver) - Method in class com.globusltd.recyclerview.choice.ObservableChoiceMode
Register a new observer to listen for selection changes.
registerChoiceModeObserver(ChoiceModeObserver) - Method in class com.globusltd.recyclerview.choice.SingleModalChoiceMode
Register a new observer to listen for selection changes.
registerDatasourceObserver(DatasourceObserver) - Method in class com.globusltd.recyclerview.datasource.CursorDatasource
Register a new observer to listen for data changes.
registerDatasourceObserver(DatasourceObserver) - Method in interface com.globusltd.recyclerview.datasource.Datasource
Register a new observer to listen for data changes.
registerDatasourceObserver(DatasourceObserver) - Method in class com.globusltd.recyclerview.datasource.DatasourceProxy
 
registerDatasourceObserver(DatasourceObserver) - Method in class com.globusltd.recyclerview.datasource.ListDatasource
Register a new observer to listen for data changes.
registerLifecycleCallbacks(LifecycleCallbacks) - Method in class com.globusltd.recyclerview.lifecycle.LifecycleComposite
Add a new LifecycleCallbacks to the LifecycleComposite, which will be called at the same times as the lifecycle methods of activities or fragments are called.
registerObserver(T) - Method in class com.globusltd.recyclerview.util.Observable
Adds an observer to the list.
registerViewHolderObserver(ViewHolderObserver) - Method in class com.globusltd.recyclerview.ViewHolderTracker
Add a new ViewHolderObserver to the ViewHolderTracker, which will be called at the same times as the attach/detach methods of adapter are called.
remove(int) - Method in class com.globusltd.recyclerview.datasource.ListDatasource
Removes entity at a given position.
removeRange(int, int) - Method in class com.globusltd.recyclerview.datasource.ListDatasource
Removes a range of elements.
requiresLongpress() - Method in interface com.globusltd.recyclerview.choice.ChoiceMode
Returns whether long press is required by this choice mode.
requiresLongpress() - Method in class com.globusltd.recyclerview.choice.MultipleChoiceMode
Returns whether long press is required by this choice mode.
requiresLongpress() - Method in class com.globusltd.recyclerview.choice.MultipleModalChoiceMode
Returns whether long press is required by this choice mode.
requiresLongpress() - Method in class com.globusltd.recyclerview.choice.NoneChoiceMode
Returns whether long press is required by this choice mode.
requiresLongpress() - Method in class com.globusltd.recyclerview.choice.SingleChoiceMode
Returns whether long press is required by this choice mode.
requiresLongpress() - Method in class com.globusltd.recyclerview.choice.SingleModalChoiceMode
Returns whether long press is required by this choice mode.
requiresStableIds() - Method in interface com.globusltd.recyclerview.choice.ChoiceMode
Returns whether stable item ids are required by this choice mode.
requiresStableIds() - Method in class com.globusltd.recyclerview.choice.MultipleChoiceMode
Returns whether stable item ids are required by this choice mode.
requiresStableIds() - Method in class com.globusltd.recyclerview.choice.MultipleModalChoiceMode
Returns whether stable item ids are required by this choice mode.
requiresStableIds() - Method in class com.globusltd.recyclerview.choice.NoneChoiceMode
Returns whether stable item ids are required by this choice mode.
requiresStableIds() - Method in class com.globusltd.recyclerview.choice.SingleChoiceMode
Returns whether stable item ids are required by this choice mode.
requiresStableIds() - Method in class com.globusltd.recyclerview.choice.SingleModalChoiceMode
Returns whether stable item ids are required by this choice mode.

S

set(int, E) - Method in class com.globusltd.recyclerview.datasource.ListDatasource
Replaces the element at the specified position in this list with the specified element.
setChecked(boolean, boolean) - Method in interface com.globusltd.recyclerview.choice.CheckableViewHolder
Change the checked state of the view holder
setChoiceMode(ChoiceMode) - Method in class com.globusltd.recyclerview.view.ChoiceModeHelper
Sets a ChoiceMode implementation to handle selected items.
setChoiceModeListener(SimpleChoiceModeListener) - Method in class com.globusltd.recyclerview.choice.MultipleChoiceMode
Sets multiple choice mode callback.
setChoiceModeListener(SimpleChoiceModeListener) - Method in class com.globusltd.recyclerview.choice.SingleChoiceMode
Sets single choice mode callback.
setFinishActionModeOnClearEnabled(boolean) - Method in class com.globusltd.recyclerview.choice.MultipleModalChoiceMode
Allows action mode be opened when no items are checked.
setFinishActionModeOnClearEnabled(boolean) - Method in class com.globusltd.recyclerview.choice.SingleModalChoiceMode
Allows action mode be opened when no items are checked.
setInChoiceMode(boolean) - Method in interface com.globusltd.recyclerview.choice.CheckableViewHolder
 
setItemChecked(long, boolean) - Method in interface com.globusltd.recyclerview.choice.ChoiceMode
Sets the checked state of the specified position.
setItemChecked(long, boolean) - Method in class com.globusltd.recyclerview.choice.MultipleChoiceMode
 
setItemChecked(long, boolean) - Method in class com.globusltd.recyclerview.choice.MultipleModalChoiceMode
Sets the checked state of the specified position.
setItemChecked(long, boolean) - Method in class com.globusltd.recyclerview.choice.NoneChoiceMode
Sets the checked state of the specified position.
setItemChecked(long, boolean) - Method in class com.globusltd.recyclerview.choice.SingleChoiceMode
Sets the checked state of the specified position.
setItemChecked(long, boolean) - Method in class com.globusltd.recyclerview.choice.SingleModalChoiceMode
Sets the checked state of the specified position.
setLongpressEnabled(boolean) - Method in class com.globusltd.recyclerview.view.EnchancedGestureDetector
Set whether longpress is enabled, if this is enabled when a user presses and holds down you get a longpress event and nothing further.
setOnItemClickListener(OnItemClickListener<E>) - Method in class com.globusltd.recyclerview.view.ItemClickHelper
Register a callback to be invoked when view is clicked.
setOnItemLongClickListener(OnItemLongClickListener<E>) - Method in class com.globusltd.recyclerview.view.ItemClickHelper
Register a callback to be invoked when view is long clicked.
setRecyclerView(RecyclerView) - Method in class com.globusltd.recyclerview.RecyclerViewOwner
Attaches the RecyclerViewOwner to the provided RecyclerView.
setStartOnSingleTapEnabled(boolean) - Method in class com.globusltd.recyclerview.choice.MultipleModalChoiceMode
Allows to start modal choice on single tap.
setStartOnSingleTapEnabled(boolean) - Method in class com.globusltd.recyclerview.choice.SingleModalChoiceMode
Allows to start modal choice on single tap.
shouldDetectMoves() - Method in class com.globusltd.recyclerview.diff.DiffCallback
 
SimpleChoiceModeListener - Interface in com.globusltd.recyclerview.choice
A SimpleChoiceModeListener receives events for this choice mode.
SimpleDatasourcesDiffCallback<E> - Class in com.globusltd.recyclerview.diff
A callback class used by DiffUtil while calculating the diff between two Datasources.
SimpleDatasourcesDiffCallback(Datasource<? extends E>, Datasource<? extends E>) - Constructor for class com.globusltd.recyclerview.diff.SimpleDatasourcesDiffCallback
 
SimpleDatasourcesDiffCallback(Datasource<? extends E>, Datasource<? extends E>, boolean) - Constructor for class com.globusltd.recyclerview.diff.SimpleDatasourcesDiffCallback
 
SimpleEnableBehavior - Class in com.globusltd.recyclerview.view
This is a class to enable or disable RecyclerView.ViewHolder's item view according to enabled state returned by isEnabled(int).
SimpleEnableBehavior(SimpleEnableBehavior.Callback) - Constructor for class com.globusltd.recyclerview.view.SimpleEnableBehavior
 
SimpleEnableBehavior.Callback - Interface in com.globusltd.recyclerview.view
This interface is the contract between SimpleEnableBehavior and your application.
SimpleOnGestureListener() - Constructor for class com.globusltd.recyclerview.view.EnchancedGestureDetector.SimpleOnGestureListener
 
SingleChoiceMode - Class in com.globusltd.recyclerview.choice
ChoiceMode that allows up to one choice.
SingleChoiceMode() - Constructor for class com.globusltd.recyclerview.choice.SingleChoiceMode
 
SingleChoiceMode(Bundle) - Constructor for class com.globusltd.recyclerview.choice.SingleChoiceMode
 
SingleModalChoiceMode - Class in com.globusltd.recyclerview.choice
ChoiceMode that allows up to one choice in a modal selection mode.
SingleModalChoiceMode(ActionModeCompat, ModalChoiceModeListener) - Constructor for class com.globusltd.recyclerview.choice.SingleModalChoiceMode
 
SingleModalChoiceMode(ActionModeCompat, ModalChoiceModeListener, Bundle) - Constructor for class com.globusltd.recyclerview.choice.SingleModalChoiceMode
 
size() - Method in class com.globusltd.recyclerview.datasource.CursorDatasource
Returns the number of elements in this datastore.
size() - Method in interface com.globusltd.recyclerview.datasource.Datasource
Returns the number of elements in this datastore.
size() - Method in class com.globusltd.recyclerview.datasource.DatasourceProxy
 
size() - Method in class com.globusltd.recyclerview.datasource.ListDatasource
Returns the number of elements in this datastore.
startActionMode(ActionMode.Callback) - Method in class com.globusltd.recyclerview.choice.ActionModeCompat
Start an action mode.
swap(Datasource<? extends E>) - Method in class com.globusltd.recyclerview.Adapter
Performs swapping the internal components and returns the previous component.
swap(Datasource<? extends E>) - Method in class com.globusltd.recyclerview.datasource.DatasourceOwner
 
swap(Datasource<? extends E>) - Method in class com.globusltd.recyclerview.datasource.DatasourceProxy
 
swap(E) - Method in interface com.globusltd.recyclerview.Swappable
Performs swapping the internal components and returns the previous component.
Swappable<E> - Interface in com.globusltd.recyclerview
Interface describes component that supports replacing internal components without interruption to the system.

U

unregisterAll() - Method in class com.globusltd.recyclerview.util.Observable
Remove all registered observers.
unregisterChoiceModeObserver(ChoiceModeObserver) - Method in interface com.globusltd.recyclerview.choice.ChoiceMode
Unregister an observer currently listening for selection changes.
unregisterChoiceModeObserver(ChoiceModeObserver) - Method in class com.globusltd.recyclerview.choice.MultipleModalChoiceMode
Unregister an observer currently listening for selection changes.
unregisterChoiceModeObserver(ChoiceModeObserver) - Method in class com.globusltd.recyclerview.choice.NoneChoiceMode
Unregister an observer currently listening for selection changes.
unregisterChoiceModeObserver(ChoiceModeObserver) - Method in class com.globusltd.recyclerview.choice.ObservableChoiceMode
Unregister an observer currently listening for selection changes.
unregisterChoiceModeObserver(ChoiceModeObserver) - Method in class com.globusltd.recyclerview.choice.SingleModalChoiceMode
Unregister an observer currently listening for selection changes.
unregisterDatasourceObserver(DatasourceObserver) - Method in class com.globusltd.recyclerview.datasource.CursorDatasource
Unregister an observer currently listening for data changes.
unregisterDatasourceObserver(DatasourceObserver) - Method in interface com.globusltd.recyclerview.datasource.Datasource
Unregister an observer currently listening for data changes.
unregisterDatasourceObserver(DatasourceObserver) - Method in class com.globusltd.recyclerview.datasource.DatasourceProxy
 
unregisterDatasourceObserver(DatasourceObserver) - Method in class com.globusltd.recyclerview.datasource.ListDatasource
Unregister an observer currently listening for data changes.
unregisterLifecycleCallbacks(LifecycleCallbacks) - Method in class com.globusltd.recyclerview.lifecycle.LifecycleComposite
unregisterObserver(T) - Method in class com.globusltd.recyclerview.util.Observable
Removes a previously registered observer.
unregisterViewHolderObserver(ViewHolderObserver) - Method in class com.globusltd.recyclerview.ViewHolderTracker

V

ViewHolderObserver - Interface in com.globusltd.recyclerview
Interface to observe RecyclerView.ViewHolder's lifecycle events.
ViewHolderTracker - Class in com.globusltd.recyclerview
ViewHolderTracker provides view holder attach/detach events to the registered ViewHolderObserver objects.
ViewHolderTracker() - Constructor for class com.globusltd.recyclerview.ViewHolderTracker
 
A C D E F G H I L M N O P R S U V 
Skip navigation links