Skip to content
This repository has been archived by the owner on May 26, 2021. It is now read-only.

Latest commit

 

History

History
15 lines (8 loc) · 785 Bytes

File metadata and controls

15 lines (8 loc) · 785 Bytes

kakao / com.agoda.kakao.recycler / KRecyclerView / childAt

childAt

inline fun <reified T : KRecyclerItem<*>> childAt(position: Int, function: T.() -> Unit): Unit

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