I'm a bit confused about the roles of forceLayout(), requestLayout() and invalidate() methods of the View class.
forceLayout()
requestLayout()
invalidate()
View
When shall they be called?
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:
1.4m articles
1.4m replys
5 comments
57.0k users