onMeasure
Measure the attached RecyclerView. Implementations must call setMeasuredDimension before returning.
It is strongly advised to use the AutoMeasure mechanism by overriding isAutoMeasureEnabled to return true as AutoMeasure handles all the standard measure cases including when the RecyclerView's layout_width or layout_height have been set to wrap_content. If isAutoMeasureEnabled is overridden to return true, this method should not be overridden.
The default implementation will handle EXACTLY measurements and respect the minimum width and height properties of the host RecyclerView if measured as UNSPECIFIED. AT_MOST measurements will be treated as EXACTLY and the RecyclerView will consume all available space.
Parameters
Recycler
Transient state of RecyclerView