SwipeBuilder2

open class SwipeBuilder2

Functions

forAllModels
Link copied to clipboard
open fun forAllModels(): EpoxyTouchHelper.SwipeBuilder3<EpoxyModel>
Use this if all models in the controller should be swipable, and if there are multiple typesof models in the controller.
withTarget
Link copied to clipboard
open fun <U : EpoxyModel?> withTarget(targetModelClass: Class<U>): EpoxyTouchHelper.SwipeBuilder3<U>
Set the type of Epoxy model that is swipable.
withTargets
Link copied to clipboard
open fun withTargets(targetModelClasses: Array<Class<out EpoxyModel>>): EpoxyTouchHelper.SwipeBuilder3<EpoxyModel>
Specify which Epoxy model types are swipable.