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