-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum DragDropSwipeRecyclerView.ListOrientation extends Enum<DragDropSwipeRecyclerView.ListOrientation>
Indicates the orientation of a recycler view of type DragDropSwipeRecyclerView.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumDragDropSwipeRecyclerView.ListOrientation.DirectionFlag
-
Field Summary
Fields Modifier and Type Field Description private final List<DragDropSwipeRecyclerView.ListOrientation.DirectionFlag>dragDirectionFlagsprivate final List<DragDropSwipeRecyclerView.ListOrientation.DirectionFlag>swipeDirectionFlagsprivate final Stringnameprivate final Integerordinal
-
Enum Constant Summary
Enum Constants Enum Constant Description GRID_LIST_WITH_VERTICAL_SWIPINGThe list will be arranged as a grid and its items will be swiped only vertically.
GRID_LIST_WITH_HORIZONTAL_SWIPINGThe list will be arranged as a grid and its items will be swiped only horizontally.
HORIZONTAL_LIST_WITH_UNCONSTRAINED_DRAGGINGThe list will be scrolled horizontally and its items will be dragged in any direction.
HORIZONTAL_LIST_WITH_HORIZONTAL_DRAGGINGThe list will be scrolled horizontally and its items will be dragged only horizontally.
VERTICAL_LIST_WITH_UNCONSTRAINED_DRAGGINGThe list will be scrolled vertically and its items will be dragged in any direction.
VERTICAL_LIST_WITH_VERTICAL_DRAGGINGThe list will be scrolled vertically and its items will be dragged only vertically.
-
Method Summary
Modifier and Type Method Description final List<DragDropSwipeRecyclerView.ListOrientation.DirectionFlag>getDragDirectionFlags()final List<DragDropSwipeRecyclerView.ListOrientation.DirectionFlag>getSwipeDirectionFlags()final StringgetName()final IntegergetOrdinal()-
-
Method Detail
-
getDragDirectionFlags
final List<DragDropSwipeRecyclerView.ListOrientation.DirectionFlag> getDragDirectionFlags()
-
getSwipeDirectionFlags
final List<DragDropSwipeRecyclerView.ListOrientation.DirectionFlag> getSwipeDirectionFlags()
-
getOrdinal
final Integer getOrdinal()
-
-
-
-