What is the equivalent to AsyncLayoutInflater for composables?
Knowing the screen size I'd like to render a composable so I can know the final size an image inside the composable will have to prefetch it at the optimal size.
a
Albert Chang
02/09/2022, 10:03 AM
Layout inflator just parses the xml and creates the views. There is no view creation in Compose UI.
If you are asking about multithreaded composition, it's on the roadmap.
g
galex
02/09/2022, 10:08 AM
Thanks! I thought we might have something else available in the meantime