with Layout Manager

fun withLayoutManager(layoutManager: RecyclerView.LayoutManager?)

method to configure layout manager

Parameters

layoutManager

the layout manager to setup with RecyclerView

Sources

Link copied to clipboard