Skip to content

Benefits of using coil for bundled images #1387

Answered by colinrtwhite
ubuntudroid asked this question in Q&A

You must be logged in to vote

It should; Compose's built-inImage decodes the image on the main thread. It's the same for ImageView.setImageResource when using views. AsyncImage moves all the work to a background thread, which will reduce UI lag.

Replies: 1 comment 1 reply

You must be logged in to vote
1 reply
@ubuntudroid

Answer selected by ubuntudroid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants