CustomViewData

data class CustomViewData(val view: View? = null, val spanCount: Int = 1) : ViewData, SpanData(source)

The ui model for custom view use to item view managed by androidx.picker.adapter.AbsAdapter.

Constructors

Link copied to clipboard
constructor(view: View? = null, spanCount: Int = 1)

Properties

Link copied to clipboard
open override val spanCount: Int = 1

The number of columns this view data should span in a grid layout. Defaults to 1.

Link copied to clipboard
val view: View? = null

The custom View instance, or null if no view is set.