androidx.recyclerview.selection

Interfaces

OnContextClickListener

Register an OnContextClickListener to be notified when a context click occurs.

OnDragInitiatedListener

Register an OnDragInitiatedListener to be notified when user intent to perform drag and drop operations on an item or items has been detected.

OnItemActivatedListener

Register an OnItemActivatedListener to be notified when an item is activated (tapped or double clicked).

OnChangeListener

Listen to changes in operation status.

Classes

BandPredicate

Provides a means of controlling when and where band selection can be initiated.

FocusDelegate

Override methods in this class to provide application specific behaviors related to focusing item.

ItemDetailsLookup

The Selection library calls getItemDetails(MotionEvent) when it needs access to information about the area and/or ItemDetails under a MotionEvent.

ItemKeyProvider

Provides selection library access to stable selection keys identifying items presented by a RecyclerView instance.

MutableSelection

Subclass of Selection exposing public support for mutating the underlying selection data.

OperationMonitor

OperationMonitor provides a mechanism to coordinate application logic with ongoing user selection activities (such as active band selection and active gesture selection).

Selection

Object representing a "primary" selection and a "provisional" selection.

SelectionPredicates

Utility class for creating SelectionPredicate instances.

SelectionTracker

SelectionTracker provides support for managing a selection of items in a RecyclerView instance.

StableIdKeyProvider

An ItemKeyProvider that provides stable ids by way of cached RecyclerView.Adapter stable ids.

StorageStrategy

Strategy for storing keys in saved state.