remember that it’s not the instantiation that’s expensive, it’s measure + layout passes
k
krokyze
02/28/2017, 12:37 PM
if view is gone, do Android mesure it?
a
adeln
02/28/2017, 12:38 PM
yes, the parent gets remeasured, and that will trigger the remeasure of all the wrap_content children
then a layout pass (one if it’s FrameLayout or LinearLayout, two for Relative or Linear + weights)