remember that it’s not the instantiation that’s ex...
# anko
a
remember that it’s not the instantiation that’s expensive, it’s measure + layout passes
k
if view is gone, do Android mesure it?
a
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)
*match_parent children, sorry