createViewportFiller

open fun createViewportFiller(measuredWidth: Int, measuredHeight: Int): LinearLayoutInfo.ViewportFiller

Return

a ViewportFiller to fill the RecyclerView viewport with views, or null to not pre-fill the RecyclerView.

Parameters

measuredWidth

the width of the RecyclerView

measuredHeight

the height of the RecyclerView