- 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.
- 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
-
- ITEM_VIEW_ID - Static variable in class com.globusltd.recyclerview.view.ClickableViews
-
- 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.
- 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
-
- onHidePress() - Method in class com.globusltd.recyclerview.view.EnchancedGestureDetector.SimpleOnGestureListener
-
- 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
-
- 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
-
- 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
-
- onUp(MotionEvent) - Method in interface com.globusltd.recyclerview.view.EnchancedGestureDetector.OnGestureListener
-
- onUp(MotionEvent) - Method in class com.globusltd.recyclerview.view.EnchancedGestureDetector.SimpleOnGestureListener
- 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
-
- 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
-
- 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.
- 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
-
- 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.