getChildWidthSpec

abstract fun getChildWidthSpec(widthSpec: Int, renderInfo: RenderInfo): Int

Return

the widthSpec to be used to measure the size of the components within this .

Parameters

widthSpec

the widthSpec used to measure the parent RecyclerSpec.

renderInfo

retrieve SpanSize of the component if it is a GridLayoutInfo