Base Adapter Builder
Types
Functions
Link copied to clipboard
Create the instance.
Link copied to clipboard
Manually set the total number of data to be displayed.
Link copied to clipboard
Bind List to BaseAdapter.
Link copied to clipboard
Bind Filter to BaseAdapter.
Link copied to clipboard
Bind each item ID to BaseAdapter.
Link copied to clipboard
inline fun <VB : ViewBinding> onBindItemView(noinline viewHolder: (binding: VB, entity: E, position: Int) -> Unit = { _, _, _ -> }): BaseAdapterBuilder<E>
fun <VB : ViewBinding> onBindItemView(bindingBuilder: ViewBindingBuilder<VB>, viewHolder: (binding: VB, entity: E, position: Int) -> Unit = { _, _, _ -> }): BaseAdapterBuilder<E>
Create and add view holder from ViewBinding<VB>.
fun <VD : Any> onBindItemView(delegate: ViewHolderDelegate<VD>, viewHolder: (delegate: VD, entity: E, position: Int) -> Unit = { _, _, _ -> }): BaseAdapterBuilder<E>
Create and add view holder from ViewHolderDelegate<VD>.
fun onBindItemView(@LayoutRes resId: Int, viewHolder: (itemView: View, entity: E, position: Int) -> Unit = { _, _, _ -> }): BaseAdapterBuilder<E>
Create and add view holder from XML layout ID.
Link copied to clipboard
fun onItemViewClick(id: Long = ITEM_NO_ID, onClick: (itemView: View, entity: E, position: Int) -> Unit): BaseAdapterBuilder<E>
Set the item view on click events.
Link copied to clipboard
fun onItemViewLongClick(id: Long = ITEM_NO_ID, onLongClick: (itemView: View, entity: E, position: Int) -> Boolean): BaseAdapterBuilder<E>
Set the item view on long click events.