BandPredicate
public
abstract
class
BandPredicate
extends Object
java.lang.Object
|
↳ |
androidx.recyclerview.selection.BandPredicate
|
Provides a means of controlling when and where band selection can be initiated.
Two default implementations are provided: BandPredicate.EmptyArea
, and BandPredicate.NonDraggableArea
.
Summary
Nested classes |
class |
BandPredicate.EmptyArea
A BandPredicate that allows initiation of band selection only in areas of RecyclerView
that map to RecyclerView.NO_POSITION .
|
class |
BandPredicate.NonDraggableArea
A BandPredicate that allows initiation of band selection in any area that is not
draggable as determined by consulting
ItemDetailsLookup.ItemDetails.inDragRegion(MotionEvent) .
|
Inherited methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public constructors
BandPredicate
public BandPredicate ()
Public methods
canInitiate
public abstract boolean canInitiate (MotionEvent e)
Returns |
boolean |
true if band selection can be initiated in response to the MotionEvent .
|
Annotations
Interfaces
Classes