ViewVisualizer

Simply uses the item (which is a View) as its own visualizer

Functions

Link copied to clipboard
open operator override fun invoke(item: View, previous: View?, context: Any): View

Called whenever an item needs to be translated to a View.

Inherited functions

Link copied to clipboard
fun <T, R, C> ItemVisualizer<R, C>.after(mapper: (T) -> R): ItemVisualizer<T, C>

Creates a visualizer for T using a visualizer for R by mapping T -> R.

Link copied to clipboard
operator fun <T> ItemVisualizer<T, Any>.invoke(item: T, previous: View? = null): View