gsdsdk / com.gsd.software.sdk.list / GsdAdapter
class GsdAdapter : Adapter<ViewHolder>
Created by konradrutkowski on 10.09.2018. File created for GSDAndroidSDK
Name | Summary |
---|---|
Binder | interface Binder<T> |
Name | Summary |
---|---|
<init> | GsdAdapter(configurationContainer: ListConfigurationContainer ) Created by konradrutkowski on 10.09.2018. File created for GSDAndroidSDK |
Name | Summary |
---|---|
addItem | fun addItem(item: Any , sectionId: String ): Unit |
addItems | fun addItems(itemList: List < Any >, sectionId: String ): Unit |
addSection | fun addSection(section: Section ): Unit fun addSection(section: Section , newItems: List < Any >): Unit |
changeFooterLayout | fun changeFooterLayout(viewId: Int ): Unit |
collapseSection | fun collapseSection(sectionId: String ): Unit |
expandSection | fun expandSection(sectionId: String ): Unit |
getItem | fun getItem(position: Int ): Any |
getItemCount | fun getItemCount(): <ERROR CLASS> |
getItemViewType | fun getItemViewType(position: Int ): Int |
isSection | fun isSection(position: Int ): Boolean |
leftSwipeAction | fun leftSwipeAction(position: Int ): Unit |
onBindViewHolder | fun onBindViewHolder(holder: ViewHolder, position: Int ): Unit |
onCreateViewHolder | fun onCreateViewHolder(parent: ViewGroup , viewType: Int ): ViewHolder |
rightSwipeAction | fun rightSwipeAction(position: Int ): Unit |
setFooterVisibility | fun setFooterVisibility(state: Boolean ): Unit |
setItems | fun setItems(itemList: List < Any >, sectionId: String ): Unit |