SimpleRcvViewBindingListAdapter

constructor(inflate: (LayoutInflater, ViewGroup, Boolean) -> BINDING, listDiffUtil: RcvListDiffUtilCallBack<ITEM>, onBind: (BaseRcvViewBindingViewHolder<BINDING>, ITEM, position: Int) -> Unit)

Parameters

ITEM

The type of data items in the list.

리스트의 데이터 아이템 타입.

BINDING

The type of ViewBinding for item views.

아이템 뷰를 위한 ViewBinding 타입.

inflate

ViewBinding inflate function for item views.

아이템 뷰용 ViewBinding inflate 함수.

listDiffUtil

DiffUtil callback for comparing items.

아이템 비교를 위한 DiffUtil 콜백.

onBind

Lambda function to bind data to the ViewHolder.

ViewHolder에 데이터를 바인딩하는 람다 함수.