getLayoutManager

open override fun getLayoutManager(viewType: Int): RecyclerView.LayoutManager(source)

Retrieves the LayoutManager for the RecyclerView. This implementation always returns a LinearLayoutManager for a vertical list.

Return

A LinearLayoutManager instance.

Parameters

viewType

The type of the view, not used in this implementation.