childAt

public final Unit childAt<T extends KRecyclerItem<?>>(Integer position, Function1<T, Unit> function)

Performs given actions/assertion on child at given position

Parameters

T

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

position

Position of item in adapter

function

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