getChildMeasureSpec
Calculate a MeasureSpec value for measuring a child view in one dimension.
Return
a MeasureSpec value for the child view
Parameters
Size of the parent view where the child will be placed
The measurement spec mode of the parent
Total space currently consumed by other elements of parent
Desired size of the child view, or MATCH_PARENT/WRAP_CONTENT. Generally obtained from the child view's LayoutParams
true if the parent RecyclerView can scroll in this dimension
Deprecated
Calculate a MeasureSpec value for measuring a child view in one dimension.
Return
a MeasureSpec value for the child view
Parameters
Size of the parent view where the child will be placed
Total space currently consumed by other elements of the parent
Desired size of the child view, or MATCH_PARENT/WRAP_CONTENT. Generally obtained from the child view's LayoutParams
true if the parent RecyclerView can scroll in this dimension