CollectionLayout
constructor(componentContext: ComponentContext, orientation: Int, reverse: Boolean, rangeRatio: Float? = null, useBackgroundChangeSets: Boolean = false, isReconciliationEnabled: Boolean = componentContext.lithoConfiguration.componentsConfig.isReconciliationEnabled, isIncrementalMountEnabled: Boolean = componentContext.lithoConfiguration.componentsConfig.incrementalMountEnabled, hasDynamicItemHeight: Boolean = false, canMeasureRecycler: Boolean = false, mainAxisWrapContent: Boolean = false, preAllocationHandler: PreAllocationHandler?)
Parameters
orientation
snapMode
How contents snaps to position after a scroll @see SnapUtil.SnapMode
reverse
Reverse item traversal and layout order @see LinearLayoutManager#setReverseLayout