android - public void requestLayout() -


i looking @ method public void requestlayout () in android docs, notice sentence below highlighted, don't understand word layout pass mean in sentence, know not english forum, kind of related android, please can explain me? wouldn't have asked if english native speaker, , google didn't have answer @ all. thank much.

public void requestlayout ()

call when has changed has invalidated layout of view. this schedule layout pass of view tree. should not called while view hierarchy in layout pass (isinlayout(). if layout happening, request may honored @ end of current layout pass (and layout run again) or after current frame drawn , next layout occurs.

subclasses override method should call superclass method handle possible request-during-layout errors correctly.

the layout pass describes order in android draws views. please read: https://developer.android.com/guide/topics/ui/how-android-draws.html

so os first draw root(parent) layout , proceed draw children. when requestlayout, redraws views in order.


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -