getMode

fun getMode(sizeSpec: Int): Int

Extracts the mode from the supplied size specification.

Return

com.facebook.litho.SizeSpec#UNSPECIFIED or com.facebook.litho.SizeSpec#EXACTLY

Parameters

sizeSpec

the size specification to extract the mode from