DataSourceInterface

interface DataSourceInterface

Functions

getLayout
Link copied to clipboard

Get the default layout res id of the list item view.

abstract fun getLayout(): Int

Get the flavored layout res id of the list item view.

abstract fun getLayout(flavor: String): Int
getName
Link copied to clipboard

Get the Name

abstract fun getName(): String
getViewHolderClass
Link copied to clipboard

Get the class of a ViewHolder to Display in List

abstract fun getViewHolderClass(): Class<Out DataSourceViewHolder>
isDirty
Link copied to clipboard
abstract fun isDirty(): Boolean
isSelectable
Link copied to clipboard
abstract fun isSelectable(): Boolean
onBind
Link copied to clipboard
abstract fun onBind(item: View)
setDirtyFlag
Link copied to clipboard
abstract fun setDirtyFlag(isDirty: Boolean)