fiddler fiddler - 1 month ago 9
Android Question

Usage of forceLayout(), requestLayout() and invalidate()

I'm a bit confused about the roles of

forceLayout()
,
requestLayout()
and
invalidate()
methods of the
View
class.

When shall they be called?

Answer

To better understand answers provided by Fran├žois BOURLIEUX and Dalvik I suggest you take a look at this awesome view lifecycle diagram by Arpit Mathur: enter image description here