When we start the app, the whole UI is created from the XML files. Every little XML view and attribute causes a whole layout pass on the entire activity view tree, which is bad.
We need a way to know when we are loading an XML file and differ all layout passes until this is done, do only do ONE pass in the end instead of multiple dozens.
When we start the app, the whole UI is created from the XML files. Every little XML view and attribute causes a whole layout pass on the entire activity view tree, which is bad.
We need a way to know when we are loading an XML file and differ all layout passes until this is done, do only do ONE pass in the end instead of multiple dozens.