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