childWith

public final T childWith<T extends KAdapterItem<?>>(Function1<DataBuilder, Unit> childMatcher)

Performs given actions/assertion on child that matches given matcher

Return

Item with type T. To make actions/assertions on it immediately, use perform() infix function.

Parameters

T

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

childMatcher

Matcher for item in adapter