commons/ui / com.vmadalin.commons.ui.base / BaseListAdapter / <init>

<init>

BaseListAdapter(itemsSame: (T, T) -> Boolean, contentsSame: (T, T) -> Boolean)

Base list adapter to standardize and simplify initialization for this component.

Parameters

itemsSame - Function called to check whether two objects represent the same item.

contentsSame - Function called to check whether two items have the same data.

See Also

ListAdapter