gsdsdk / com.gsd.software.sdk.viewcomponents.listholder / DynamicListAdapter

DynamicListAdapter

class DynamicListAdapter : Adapter<DynamicListViewHolder>

Created by Maksim Shumko on 4/16/2020

Constructors

Name Summary
<init> DynamicListAdapter()
Created by Maksim Shumko on 4/16/2020

Functions

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