I will note that onGlobalLayout was just called on...
# compose
w
I will note that onGlobalLayout was just called once on one device- my Galaxy S10. It was pretty consistent, too, and happened in both the Compose and XML tests. I suspect they had some sort of trick to callback slightly differently than the others? So if you’re trying to measure in the wild, code defensively, because it seems these callbacks can have some slightly different behaviors based on the device. (That’s a phrase I’ve had to use a lot in Android development! Usually with Samsung!)