LayoutInfo
An implementation of this interface will provide the RecyclerBinder with all the information about the RecyclerView layout.
Inheritors
Types
Link copied to clipboard
interface RenderInfoCollection
Link copied to clipboard
interface ViewportFiller
Interface that is responsible for filling the viewport of the list with initial layouts according to the LayoutManager.
Functions
Link copied to clipboard
abstract 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
abstract fun computeWrappedHeight(maxHeight: Int, componentTreeHolders: List<ComponentTreeHolder>): Int
Link copied to clipboard
abstract fun createViewportFiller(measuredWidth: Int, measuredHeight: Int): LayoutInfo.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