-
public class EpoxyTouchHelper.DragBuilder3
-
-
Method Summary
Modifier and Type Method Description <U extends EpoxyModel> EpoxyTouchHelper.DragBuilder4<U>withTarget(Class<U> targetModelClass)Set the type of Epoxy model that is draggable. EpoxyTouchHelper.DragBuilder4<EpoxyModel>withTargets(Array<Class<out EpoxyModel>> targetModelClasses)Specify which Epoxy model types are draggable. EpoxyTouchHelper.DragBuilder4<EpoxyModel>forAllModels()Use this if all models in the controller should be draggable, and if there are multiple typesof models in the controller. -
-
Method Detail
-
withTarget
<U extends EpoxyModel> EpoxyTouchHelper.DragBuilder4<U> withTarget(Class<U> targetModelClass)
Set the type of Epoxy model that is draggable. This approach works well if you only have onedraggable type.
-
withTargets
EpoxyTouchHelper.DragBuilder4<EpoxyModel> withTargets(Array<Class<out EpoxyModel>> targetModelClasses)
Specify which Epoxy model types are draggable. Use this if you have more than one type thatis draggable.
If you only have one draggable type you should use withTarget
-
forAllModels
EpoxyTouchHelper.DragBuilder4<EpoxyModel> forAllModels()
Use this if all models in the controller should be draggable, and if there are multiple typesof models in the controller.
If you only have one model type you should use withTarget
-
-
-
-