createOrientationHelper
open fun createOrientationHelper(layoutManager: RecyclerView.LayoutManager, orientation: Int): OrientationHelper(source)
Creates an OrientationHelper for the given LayoutManager and orientation.
Return
A new OrientationHelper
Parameters
layoutManager
LayoutManager to attach to
orientation
Desired orientation. Should be HORIZONTAL or VERTICAL