gsdsdk / com.gsd.software.sdk.viewcomponents.listholder / DynamicListAdapter
class DynamicListAdapter : Adapter<
DynamicListViewHolder
>
Created by Maksim Shumko on 4/16/2020
Name | Summary |
---|---|
<init> | DynamicListAdapter() Created by Maksim Shumko on 4/16/2020 |
Name | Summary |
---|---|
getItemCount | fun getItemCount(): <ERROR CLASS> |
getItemViewType | fun getItemViewType(position: Int ): Int |
onBindViewHolder | fun onBindViewHolder(holder: DynamicListViewHolder , position: Int ): Unit |
onCreateViewHolder | fun onCreateViewHolder(parent: ViewGroup , viewType: Int ): DynamicListViewHolder |
setClickListener | fun setClickListener(listener: (mappedItem: MappedItem , actionType: ActionType ) -> Unit ): Unit |
setContainerAction | fun setContainerAction(action: (mappedItem: MappedItem ) -> View ): Unit |
setItems | fun setItems(items: List < MappedItem >): Unit |
setLongClickListener | fun setLongClickListener(listener: (mappedItem: MappedItem , actionType: ActionType ) -> Unit ): Unit |