Error in Android View documentation? (MeasureSpec and LayoutParams) -


from android view documentation (emphasis mine):

the measure pass uses 2 classes communicate dimensions. view.measurespec class used views tell parents how want measured , positioned. base layoutparams class describes how big view wants both width , height.

but measurespec documentation states that

a measurespec encapsulates layout requirements passed parent child.

and layoutparams documentation states that

layoutparams used views tell parents how want laid out.

this seems contradictory me. there error in view documentation? should italicized view.measurespec replaced viewgroup.layoutparams?


Comments

Popular posts from this blog

javascript - How to bind ViewModel Store to View? -

recursion - Can every recursive algorithm be improved with dynamic programming? -

c - Why does alarm() cause fgets() to stop waiting? -