setAutoMeasureEnabled

Deprecated

Implementors of LayoutManager should define whether or not it uses AutoMeasure by overriding isAutoMeasureEnabled.

Defines whether the measuring pass of layout should use the AutoMeasure mechanism of RecyclerView or if it should be done by the LayoutManager's implementation of onMeasure.

Parameters

enabled

True if layout measurement should be done by the RecyclerView, false if it should be done by this LayoutManager.

See also