- getDivider() - Method in class universum.studios.android.recycler.decoration.ItemDividerDecoration
-
Returns the divider drawable that is drawn by this decoration between items.
- getDividerOffsetEnd() - Method in class universum.studios.android.recycler.decoration.ItemDividerDecoration
-
Returns the amount by which to offset the divider at the end.
- getDividerOffsetStart() - Method in class universum.studios.android.recycler.decoration.ItemDividerDecoration
-
Returns the amount by which to offset the divider at the start.
- getDividerThickness() - Method in class universum.studios.android.recycler.decoration.ItemDividerDecoration
-
Returns the thickness in which should be the divider drawn between items.
- getDragThreshold() - Method in class universum.studios.android.recycler.helper.ItemDragHelper.Interactor
-
Returns the fraction that the user should move the holder's
View
to be considered as it is dragged.
- getHorizontalEnd() - Method in class universum.studios.android.recycler.decoration.ItemSpaceDecoration
-
Returns the amount of space by which to offset each item at the end in horizontal direction.
- getHorizontalStart() - Method in class universum.studios.android.recycler.decoration.ItemSpaceDecoration
-
Returns the amount of space by which to offset each item at the start in horizontal direction.
- getInteractiveView(int) - Method in interface universum.studios.android.recycler.helper.RecyclerViewItemHelper.InteractiveViewHolder
-
Returns the view that a user may interact with for the specified interaction.
- getInteractor() - Method in class universum.studios.android.recycler.helper.RecyclerViewItemHelper
-
Returns the interactor instance used by this helper to support its specific feature for
items of the
RecyclerView to which is this helper instance attached.
- getItemDragFlags(int) - Method in interface universum.studios.android.recycler.helper.ItemDragHelper.DragAdapter
-
Called by the drag helper to obtain drag movement flags for an item at the specified
position.
- getItemOffsets(Rect, View, RecyclerView, RecyclerView.State) - Method in class universum.studios.android.recycler.decoration.ItemDividerDecoration
-
- getItemOffsets(Rect, View, RecyclerView, RecyclerView.State) - Method in class universum.studios.android.recycler.decoration.ItemSpaceDecoration
-
- getItemSwipeFlags(int) - Method in interface universum.studios.android.recycler.helper.ItemSwipeHelper.SwipeAdapter
-
Called by the swipe helper to obtain swipe movement flags for an item at the specified
position.
- getMovementFlags(RecyclerView, RecyclerView.ViewHolder) - Method in class universum.studios.android.recycler.helper.ItemDragHelper.Interactor
-
- getMovementFlags(RecyclerView, RecyclerView.ViewHolder) - Method in class universum.studios.android.recycler.helper.ItemSwipeHelper.Interactor
-
- getMoveThreshold(RecyclerView.ViewHolder) - Method in class universum.studios.android.recycler.helper.ItemDragHelper.Interactor
-
- getOrientation() - Method in class universum.studios.android.recycler.decoration.ItemDividerDecoration
-
Returns the orientation in which is the divider drawable drawn between items.
- getPrecondition() - Method in class universum.studios.android.recycler.decoration.RecyclerViewItemDecoration
-
Returns the precondition specified for this decoration.
- getRestoreHolderAnimationDuration() - Method in class universum.studios.android.recycler.helper.ItemSwipeHelper
-
Returns the duration of holder's restore animation.
- getRestoreHolderAnimationInterpolator() - Method in class universum.studios.android.recycler.helper.ItemSwipeHelper
-
Returns the interpolator for holder's restore animation.
- getSwipeThreshold() - Method in class universum.studios.android.recycler.helper.ItemSwipeHelper.Interactor
-
Returns the fraction that the user should move the holder's
View to be considered
as swiped.
- getSwipeThreshold(RecyclerView.ViewHolder) - Method in class universum.studios.android.recycler.helper.ItemSwipeHelper.Interactor
-
- getVerticalEnd() - Method in class universum.studios.android.recycler.decoration.ItemSpaceDecoration
-
Returns the amount of space by which to offset each item at the end in vertical direction.
- getVerticalStart() - Method in class universum.studios.android.recycler.decoration.ItemSpaceDecoration
-
Returns the amount of space by which to offset each item at the start in vertical direction.
- INTERACTION - Static variable in class universum.studios.android.recycler.helper.ItemDragHelper
-
- INTERACTION - Static variable in class universum.studios.android.recycler.helper.ItemSwipeHelper
-
- isActive() - Method in class universum.studios.android.recycler.helper.ItemDragHelper.Interactor
-
- isActive() - Method in class universum.studios.android.recycler.helper.ItemSwipeHelper.Interactor
-
- isActive() - Method in class universum.studios.android.recycler.helper.RecyclerViewItemHelper.ItemInteractor
-
Returns boolean flag indicating whether this interactor is currently active.
- isEnabled() - Method in class universum.studios.android.recycler.helper.RecyclerViewItemHelper.ItemInteractor
-
Returns boolean flag indicating whether this interactor is enabled or not.
- isItemViewSwipeEnabled() - Method in class universum.studios.android.recycler.helper.ItemSwipeHelper.Interactor
-
- isLongPressDragEnabled() - Method in class universum.studios.android.recycler.helper.ItemDragHelper.Interactor
-
- ItemDividerDecoration - Class in universum.studios.android.recycler.decoration
-
- ItemDividerDecoration() - Constructor for class universum.studios.android.recycler.decoration.ItemDividerDecoration
-
- ItemDividerDecoration(int, Drawable) - Constructor for class universum.studios.android.recycler.decoration.ItemDividerDecoration
-
Creates a new instance of ItemDividerDecoration with the specified orientation
and divider.
- ItemDividerDecoration(Context) - Constructor for class universum.studios.android.recycler.decoration.ItemDividerDecoration
-
- ItemDividerDecoration(Context, AttributeSet) - Constructor for class universum.studios.android.recycler.decoration.ItemDividerDecoration
-
- ItemDividerDecoration(Context, AttributeSet, int) - Constructor for class universum.studios.android.recycler.decoration.ItemDividerDecoration
-
- ItemDividerDecoration(Context, AttributeSet, int, int) - Constructor for class universum.studios.android.recycler.decoration.ItemDividerDecoration
-
Creates a new instance of ItemDividerDecoration for the given context.
- ItemDividerDecoration.Orientation - Annotation Type in universum.studios.android.recycler.decoration
-
- ItemDragHelper - Class in universum.studios.android.recycler.helper
-
- ItemDragHelper() - Constructor for class universum.studios.android.recycler.helper.ItemDragHelper
-
Creates a new instance of ItemDragHelper.
- ItemDragHelper.DragAdapter - Interface in universum.studios.android.recycler.helper
-
Required interface for adapters which want to support drag feature for theirs
ViewHolders.
- ItemDragHelper.DragViewHolder - Interface in universum.studios.android.recycler.helper
-
Required interface for all ViewHolders which want to support
drag feature for theirs corresponding item views.
- ItemDragHelper.Interactor - Class in universum.studios.android.recycler.helper
-
A
ItemInteractor implementation used by
ItemDragHelper to handle drag gesture
related callbacks and to delegate drag events to the view holder that is being dragged and
also to it parent adapter in order to properly move dragged items in the adapter's data set.
- ItemDragHelper.OnDragListener - Interface in universum.studios.android.recycler.helper
-
Listener which may be used to receive callbacks about started, finished or
canceled drag gesture for a specific RecyclerView.ViewHolder instance.
- ItemInteractor() - Constructor for class universum.studios.android.recycler.helper.RecyclerViewItemHelper.ItemInteractor
-
- ItemSpaceDecoration - Class in universum.studios.android.recycler.decoration
-
- ItemSpaceDecoration() - Constructor for class universum.studios.android.recycler.decoration.ItemSpaceDecoration
-
- ItemSpaceDecoration(int, int) - Constructor for class universum.studios.android.recycler.decoration.ItemSpaceDecoration
-
- ItemSpaceDecoration(int, int, int, int) - Constructor for class universum.studios.android.recycler.decoration.ItemSpaceDecoration
-
Creates a new instance of ItemSpaceDecoration with the specified spacing amounts.
- ItemSpaceDecoration(Context) - Constructor for class universum.studios.android.recycler.decoration.ItemSpaceDecoration
-
- ItemSpaceDecoration(Context, AttributeSet) - Constructor for class universum.studios.android.recycler.decoration.ItemSpaceDecoration
-
- ItemSpaceDecoration(Context, AttributeSet, int) - Constructor for class universum.studios.android.recycler.decoration.ItemSpaceDecoration
-
- ItemSpaceDecoration(Context, AttributeSet, int, int) - Constructor for class universum.studios.android.recycler.decoration.ItemSpaceDecoration
-
Creates a new instance of ItemSpaceDecoration for the given context.
- ItemSwipeHelper - Class in universum.studios.android.recycler.helper
-
- ItemSwipeHelper() - Constructor for class universum.studios.android.recycler.helper.ItemSwipeHelper
-
Creates a new instance of ItemSwipeHelper.
- ItemSwipeHelper.Interactor - Class in universum.studios.android.recycler.helper
-
A
ItemInteractor implementation used by
ItemSwipeHelper to handle swipe
gesture related callbacks and to delegate swipe events to the view holder that is being swiped.
- ItemSwipeHelper.OnSwipeListener - Interface in universum.studios.android.recycler.helper
-
Listener which may be used to receive callbacks about started, finished or
canceled swipe gesture for a specific RecyclerView.ViewHolder instance.
- ItemSwipeHelper.SwipeAdapter - Interface in universum.studios.android.recycler.helper
-
Required interface for adapters which want to support swipe feature for theirs
ViewHolders.
- ItemSwipeHelper.SwipeItemAnimator - Class in universum.studios.android.recycler.helper
-
- ItemSwipeHelper.SwipeViewHolder - Interface in universum.studios.android.recycler.helper
-
Required interface for all ViewHolders which want to support
swipe feature for theirs corresponding item views.
- onAdapterAttached(RecyclerView.Adapter) - Method in class universum.studios.android.recycler.helper.ItemDragHelper.Interactor
-
- onAdapterAttached(RecyclerView.Adapter) - Method in class universum.studios.android.recycler.helper.ItemSwipeHelper.Interactor
-
- onAdapterAttached(RecyclerView.Adapter) - Method in class universum.studios.android.recycler.helper.RecyclerViewItemHelper.ItemInteractor
-
Invoked whenever a new adapter is attached to this interactor instance.
- onAdapterDetached(RecyclerView.Adapter) - Method in class universum.studios.android.recycler.helper.ItemDragHelper.Interactor
-
- onAdapterDetached(RecyclerView.Adapter) - Method in class universum.studios.android.recycler.helper.ItemSwipeHelper.Interactor
-
- onAdapterDetached(RecyclerView.Adapter) - Method in class universum.studios.android.recycler.helper.RecyclerViewItemHelper.ItemInteractor
-
Invoked before a new adapter is attached to this interactor instance if there
is already previous adapter attached.
- onAttachedToHelper(RecyclerViewItemHelper) - Method in class universum.studios.android.recycler.helper.RecyclerViewItemHelper.ItemInteractor
-
- onChildDraw(Canvas, RecyclerView, RecyclerView.ViewHolder, float, float, int, boolean) - Method in class universum.studios.android.recycler.helper.RecyclerViewItemHelper.ItemInteractor
-
- onChildDrawOver(Canvas, RecyclerView, RecyclerView.ViewHolder, float, float, int, boolean) - Method in class universum.studios.android.recycler.helper.RecyclerViewItemHelper.ItemInteractor
-
- onDragCanceled() - Method in interface universum.studios.android.recycler.helper.ItemDragHelper.DragViewHolder
-
This method is never called by the drag helper, but is left here only for convenience.
- onDragCanceled(ItemDragHelper, RecyclerView.ViewHolder) - Method in interface universum.studios.android.recycler.helper.ItemDragHelper.OnDragListener
-
Invoked whenever drag gesture is canceled for the given viewHolder.
- onDragFinished(int, int) - Method in interface universum.studios.android.recycler.helper.ItemDragHelper.DragViewHolder
-
Called by the drag helper whenever drag gesture for view of this holder is finished.
- onDragFinished(ItemDragHelper, RecyclerView.ViewHolder, int, int) - Method in interface universum.studios.android.recycler.helper.ItemDragHelper.OnDragListener
-
Invoked whenever drag gesture is finished for the given viewHolder.
- onDragStarted() - Method in interface universum.studios.android.recycler.helper.ItemDragHelper.DragViewHolder
-
Called by the drag helper whenever drag gesture for view of this holder is started.
- onDragStarted(ItemDragHelper, RecyclerView.ViewHolder) - Method in interface universum.studios.android.recycler.helper.ItemDragHelper.OnDragListener
-
Invoked whenever drag gesture is started for the given viewHolder.
- onDraw(Canvas, RecyclerView, RecyclerView.State) - Method in class universum.studios.android.recycler.decoration.ItemDividerDecoration
-
- onDraw(Canvas, float, float, int, boolean) - Method in interface universum.studios.android.recycler.helper.RecyclerViewItemHelper.InteractiveViewHolder
-
Called by the item helper to allow this holder to draw its current state in order to
respond to user interactions.
- onDrawHorizontally(Canvas, RecyclerView, RecyclerView.State) - Method in class universum.studios.android.recycler.decoration.ItemDividerDecoration
-
- onDrawOver(Canvas, float, float, int, boolean) - Method in interface universum.studios.android.recycler.helper.RecyclerViewItemHelper.InteractiveViewHolder
-
Called by the item helper to allow this holder to draw its current state in order to
respond to user interactions.
- onDrawVertically(Canvas, RecyclerView, RecyclerView.State) - Method in class universum.studios.android.recycler.decoration.ItemDividerDecoration
-
- onItemDragFinished(int, int) - Method in interface universum.studios.android.recycler.helper.ItemDragHelper.DragAdapter
-
Called by the drag helper whenever drag gesture for item associated with the specified
fromPosition has finished.
- onItemDragStarted(int) - Method in interface universum.studios.android.recycler.helper.ItemDragHelper.DragAdapter
-
Called by the drag helper whenever drag gesture for item associated with the specified
position has started.
- onMove(RecyclerView, RecyclerView.ViewHolder, RecyclerView.ViewHolder) - Method in class universum.studios.android.recycler.helper.ItemDragHelper.Interactor
-
- onMove(RecyclerView, RecyclerView.ViewHolder, RecyclerView.ViewHolder) - Method in class universum.studios.android.recycler.helper.ItemSwipeHelper.Interactor
-
- onMoveItem(int, int) - Method in interface universum.studios.android.recycler.helper.ItemDragHelper.DragAdapter
-
Called by the drag helper to inform this adapter that it should move its item in its
data set from the specified currentPosition to the specified targetPosition.
- onSelectedChanged(RecyclerView.ViewHolder, int) - Method in class universum.studios.android.recycler.helper.ItemDragHelper.Interactor
-
- onSelectedChanged(RecyclerView.ViewHolder, int) - Method in class universum.studios.android.recycler.helper.ItemSwipeHelper.Interactor
-
- onSwipeCanceled(ItemSwipeHelper, RecyclerView.ViewHolder) - Method in interface universum.studios.android.recycler.helper.ItemSwipeHelper.OnSwipeListener
-
Invoked whenever swipe gesture is canceled for the given viewHolder.
- onSwipeCanceled() - Method in interface universum.studios.android.recycler.helper.ItemSwipeHelper.SwipeViewHolder
-
Called by the swipe helper whenever swipe gesture for view of this holder is canceled.
- onSwiped(RecyclerView.ViewHolder, int) - Method in class universum.studios.android.recycler.helper.ItemDragHelper.Interactor
-
- onSwiped(RecyclerView.ViewHolder, int) - Method in class universum.studios.android.recycler.helper.ItemSwipeHelper.Interactor
-
- onSwipeFinished(ItemSwipeHelper, RecyclerView.ViewHolder, int) - Method in interface universum.studios.android.recycler.helper.ItemSwipeHelper.OnSwipeListener
-
Invoked whenever swipe gesture is finished for the given viewHolder.
- onSwipeFinished(int) - Method in interface universum.studios.android.recycler.helper.ItemSwipeHelper.SwipeViewHolder
-
Called by the swipe helper whenever swipe gesture for view of this holder is finished in
the specified direction.
- onSwipeStarted(ItemSwipeHelper, RecyclerView.ViewHolder) - Method in interface universum.studios.android.recycler.helper.ItemSwipeHelper.OnSwipeListener
-
Invoked whenever swipe gesture is started for the given viewHolder.
- onSwipeStarted() - Method in interface universum.studios.android.recycler.helper.ItemSwipeHelper.SwipeViewHolder
-
Called by the swipe helper whenever swipe gesture for view of this holder is started.
- setDivider(Drawable) - Method in class universum.studios.android.recycler.decoration.ItemDividerDecoration
-
Sets a drawable of the divider to be drawn between items of the associated
RecyclerView
in the orientation specified for this decoration.
- setDividerOffset(int, int) - Method in class universum.studios.android.recycler.decoration.ItemDividerDecoration
-
Specifies amounts by which to offset the divider.
- setDividerThickness(int) - Method in class universum.studios.android.recycler.decoration.ItemDividerDecoration
-
Sets a thickness in which should be the divider specified for this decoration drawn.
- setDragThreshold(float) - Method in class universum.studios.android.recycler.helper.ItemDragHelper.Interactor
-
Sets a fraction that the user should move the holder's
View to
be considered as it is dragged.
- setEnabled(boolean) - Method in class universum.studios.android.recycler.helper.ItemDragHelper.Interactor
-
- setEnabled(boolean) - Method in class universum.studios.android.recycler.helper.ItemSwipeHelper.Interactor
-
- setEnabled(boolean) - Method in class universum.studios.android.recycler.helper.RecyclerViewItemHelper.ItemInteractor
-
Sets a boolean flag indicating whether this interactor should be enabled or not.
- setItemViewSwipeEnabled(boolean) - Method in class universum.studios.android.recycler.helper.ItemSwipeHelper.Interactor
-
Sets a boolean flag indicating whether the swipe should be started whenever an active
pointer is swiped over an item view or not.
- setLongPressDragEnabled(boolean) - Method in class universum.studios.android.recycler.helper.ItemDragHelper.Interactor
-
Sets a boolean flag indicating whether the drag should be started whenever an item view
is long pressed or not.
- setOrientation(int) - Method in class universum.studios.android.recycler.decoration.ItemDividerDecoration
-
Sets an orientation in which should be the divider specified for this decoration drawn.
- setPrecondition(RecyclerViewItemDecoration.Precondition) - Method in class universum.studios.android.recycler.decoration.RecyclerViewItemDecoration
-
Specifies a precondition that should be checked by this decoration for each item view before
it is decorated.
- setRestoreHolderAnimationDuration(long) - Method in class universum.studios.android.recycler.helper.ItemSwipeHelper
-
Sets a duration for animation used to restore position of holder's item view after swipe
gesture for that holder has been canceled.
- setRestoreHolderAnimationInterpolator(Interpolator) - Method in class universum.studios.android.recycler.helper.ItemSwipeHelper
-
Sets an interpolator for animation used to restore position of holder's item view after swipe
gesture for that holder has been canceled.
- setSkipFirst(boolean) - Method in class universum.studios.android.recycler.decoration.RecyclerViewItemDecoration
-
Sets a boolean flag indicating whether this decoration should be skipped for the first item
from data set of the associated
RecyclerView.
- setSkipLast(boolean) - Method in class universum.studios.android.recycler.decoration.RecyclerViewItemDecoration
-
Sets a boolean flag indicating whether this decoration should be skipped for the last item
from data set of the associated
RecyclerView.
- setSwipeThreshold(float) - Method in class universum.studios.android.recycler.helper.ItemSwipeHelper.Interactor
-
Sets a fraction that the user should move the holder's
View to be considered as
swiped.
- shouldDecorate(RecyclerView, RecyclerView.State) - Method in class universum.studios.android.recycler.decoration.ItemDividerDecoration
-
- shouldDecorate(RecyclerView, RecyclerView.State) - Method in class universum.studios.android.recycler.decoration.RecyclerViewItemDecoration
-
Checks whether any subsequent decoration algorithm should be applied by this decoration for
the given parent RecyclerView and its current state.
- shouldHandleInteraction() - Method in class universum.studios.android.recycler.helper.RecyclerViewItemHelper.ItemInteractor
-
Checks whether this interactor should handle interaction due to received callback from
the parent helper.
- skipsFirst() - Method in class universum.studios.android.recycler.decoration.RecyclerViewItemDecoration
-
Checks whether this decoration is skipped for the first item.
- skipsLast() - Method in class universum.studios.android.recycler.decoration.RecyclerViewItemDecoration
-
Checks whether this decoration is skipped for the last item.
- SWIPE_THRESHOLD - Static variable in class universum.studios.android.recycler.helper.ItemSwipeHelper
-
Default swipe threshold for the swipe gesture.
- SwipeItemAnimator() - Constructor for class universum.studios.android.recycler.helper.ItemSwipeHelper.SwipeItemAnimator
-