viewFactory

fun <View : CSViewInterface, Model> MutableList<View>.viewFactory(parent: CSHasRegistrations, list: List<Model>, eventAdded: CSHasChange<Model>, content: ViewGroup, layoutParams: ViewGroup.LayoutParams? = null, fromStart: Boolean = false, create: (Model) -> View): MutableList<View>
fun <View : CSViewInterface, Model> List<Model>.viewFactory(parent: CSHasRegistrations, eventAdded: CSHasChange<Model>, content: ViewGroup, layoutParams: ViewGroup.LayoutParams? = null, fromStart: Boolean = false, create: (Model) -> View)
fun <V : CSViewInterface, M> MutableList<V>.viewFactory(parent: CSView<*>, list: List<M>, eventAdded: CSHasChange<M>, content: ViewGroup, layoutParams: ViewGroup.LayoutParams? = null, fromStart: Boolean = false, separator: () -> View, create: (M) -> V): MutableList<V>