remember that it’s not the instantiation that’s expensive, it’s measure + layout passes
2 replies
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)