What is the equivalent to AsyncLayoutInflater for ...
# compose
g
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
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
Thanks! I thought we might have something else available in the meantime