epoxy-adapter / com.airbnb.epoxy / EpoxyTouchHelper / DragBuilder3 / withTarget

withTarget

open fun <U : EpoxyModel<Any!>!> withTarget(targetModelClass: Class<U>!): EpoxyTouchHelper.DragBuilder4<U>!

Set the type of Epoxy model that is draggable. This approach works well if you only have one draggable type.