forceLayout(),requestLayout(的使用)和无效()forceLayout、requestLayout

由网友(胯下阻击手)分享简介:我有点困惑 forceLayout的角色(), requestLayout()和无效()的查看类的方法。I'm a bit confused about the roles of forceLayout(), requestLayout() and invalidate() methods of the View c...

我有点困惑 forceLayout的角色() requestLayout()无效()查看类的方法。

I'm a bit confused about the roles of forceLayout(), requestLayout() and invalidate() methods of the View class.

任何人都可以给我一些情况下,他们需要被调用在哪里?

Could anyone give me some scenarios where they need to be called ?

推荐答案

要更好地了解弗朗索瓦BOURLIEUX 和提供的答案的Dalvik 我建议你看一看通过的 Arpit马瑟的:

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:

阅读全文

相关推荐

最新文章