setUpWith
fun SupportRecyclerView.setUpWith(vertical: Boolean = true, supportAdapter: RecyclerView.Adapter<*>, recyclerLayoutManager: RecyclerView.LayoutManager? = null)
Sets up a recycler view by handling all the boilerplate code associated with it using the given layout manager or the default.
Since
v1.3.X
Parameters
supportAdapter
recycler view adapter which will be used
vertical
if the layout adapter should be vertical or horizontal
recyclerLayoutManager
optional layout manager if you do not wish to use the default