itemGenerator

inline fun <T> itemGenerator(crossinline block: (list: List<T, *>, item: T, index: Int, current: View?) -> View): ListBehavior.ItemGenerator<T>(source)

Creates an ItemGenerator from the given lambda.

Parameters

block

that will serve as the visualizer's ItemGenerator.invoke.