Dev Endless Item View Holder

class DevEndlessItemViewHolder<T>(    itemBinding: <Error class: unknown class>,     loadMoreListener: OnLoadMoreListener?,     loading: Boolean,     loadMoreSkip: Int,     loadMoreLimit: Int) : DevItemViewHolder<T>

Author

Jimly A.

Since

02-Jun-20.

See also

Parameters

itemBinding

the layout binding

loadMoreListener

defined in Adapter

loading

defined in Adapter

loadMoreSkip

defined in Adapter

loadMoreLimit

defined in Adapter

T

any object model to cast

Constructors

Link copied to clipboard
fun DevEndlessItemViewHolder(    itemBinding: <Error class: unknown class>,     loadMoreListener: OnLoadMoreListener?,     loading: Boolean,     loadMoreSkip: Int,     loadMoreLimit: Int)

create a new instance for loading item view

Functions

Link copied to clipboard
open override fun bind(data: T?)

Method to display loading when loading and text error when the api error

Sources

Link copied to clipboard