Dev Recycler View Pagination Configuration

fun <model : Any> DevRecyclerViewPaginationConfiguration(    layoutManager: RecyclerView.LayoutManager? = null,     devAdapter: DevRecyclerViewPaginationAdapter<model>? = null,     onClickListener: (model?) -> Unit? = null,     ongLongClickListener: (model?) -> Unit? = null)

return RecyclerView Configuration

Parameters

model

Object model for the RecyclerView

devAdapter

RecyclerView Adapter from codebase

onClickListener

Click Listener for the item

ongLongClickListener

on Long click listener for the item

Sources

Link copied to clipboard