lastChild

public final Unit lastChild<T extends KRecyclerItem<?>>(Function1<T, Unit> function)

Performs given actions/assertion on last child in adapter

Parameters

T

Type of item at last position. Must be registered via constructor.

function

Tail lambda which receiver will be matched item with given type T