Simple Rcv List Adapter
constructor(@LayoutRes layoutRes: Int, listDiffUtil: RcvListDiffUtilCallBack<ITEM>, onBind: (BaseRcvViewHolder, ITEM, position: Int) -> Unit)
Parameters
ITEM
The type of data items in the list.
리스트의 데이터 아이템 타입.
layout Res
Layout resource ID for item views.
아이템 뷰를 위한 레이아웃 리소스 ID.
list Diff Util
DiffUtil callback for comparing items.
아이템 비교를 위한 DiffUtil 콜백.
on Bind
Lambda function to bind data to the ViewHolder.
ViewHolder에 데이터를 바인딩하는 람다 함수.