BandPredicate
public abstract class BandPredicate
BandPredicate.EmptyArea |
A BandPredicate that allows initiation of band selection only in areas of RecyclerView that map to |
BandPredicate.NonDraggableArea |
A BandPredicate that allows initiation of band selection in any area that is not draggable as determined by consulting |
Provides a means of controlling when and where band selection can be initiated.
Two default implementations are provided: EmptyArea, and NonDraggableArea.
| See also | |
|---|---|
withBandPredicate |
Summary
Nested types |
|---|
public final class BandPredicate.EmptyArea extends BandPredicateA BandPredicate that allows initiation of band selection only in areas of RecyclerView that map to |
public final class BandPredicate.NonDraggableArea extends BandPredicateA BandPredicate that allows initiation of band selection in any area that is not draggable as determined by consulting |
Public constructors |
|---|
Public methods |
|
|---|---|
abstract boolean |
Public constructors
Public methods
canInitiate
public abstract boolean canInitiate(@NonNull MotionEvent e)
| Returns | |
|---|---|
boolean |
true if band selection can be initiated in response to the |