LinearLayoutInfo
An implementation for LayoutInfo to implement linear lists with a .
Constructors
Link copied to clipboard
constructor(context: ComponentContext, orientation: Int, reverseLayout: Boolean, stackFromEnd: Boolean)
Types
Link copied to clipboard
Simple implementation of LayoutInfo.ViewportFiller which fills the viewport by laying out items sequentially.
Functions
Link copied to clipboard
open fun approximateRangeSize(firstMeasuredItemWidth: Int, firstMeasuredItemHeight: Int, recyclerMeasuredWidth: Int, recyclerMeasuredHeight: Int): Int
This is called when the RecyclerBinder needs to calculate a range size.
Link copied to clipboard
Link copied to clipboard
open fun createViewportFiller(measuredWidth: Int, measuredHeight: Int): LinearLayoutInfo.ViewportFiller
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
This is the main scrolling direction that the LayoutManager passed to this binder will use.
Link copied to clipboard
RecyclerBinder delegates scrolling responsibilities to the LayoutInfo, as the varied LayoutManagers wrapped by a LayoutInfo lack a common scrolling interface.
Link copied to clipboard