This repository was archived by the owner on May 14, 2025. It is now read-only.

Description
We've discussed creating a Recipes section in the README for some patterns of use of Contour APIs that aren't necessarily the most straightforward.
One such example is, in the words of @aerb ,
if you find yourself wanting to use measuredWidth / measuredHeight there is an extension you can use called preferredWidth / preferredHeight on Contour which will trigger a measure() without requiring a full layout. That should help you avoid scenarios where you are asking for measuredWidth before measure has occurred