setCanMeasure

abstract fun setCanMeasure(canMeasure: Boolean)

Only for horizontally scrolling layouts: set to true if height is not known when measuring the view and the first item will need to be measured to determine the height of the view.