Package-level declarations
Data-driven view helpers: viewFactory/addView list-to-views binding, CSGridView, and CSWrapHeightRecyclerView.
Types
Link copied to clipboard
class CSWrapHeightRecyclerView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyle: Int = 0) : RecyclerView
Functions
Link copied to clipboard
fun <View : CSViewInterface, Model> ViewGroup.addView(model: Model, layoutParams: ViewGroup.LayoutParams? = null, fromStart: Boolean = false, create: (Model) -> View)
fun <View : CSViewInterface, Model> MutableList<View>.addView(model: Model, content: ViewGroup, layoutParams: ViewGroup.LayoutParams? = null, fromStart: Boolean = false, create: (Model) -> View)
Link copied to clipboard
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 <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 <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>