Samir Basnet
04/26/2021, 7:12 AMsindrenm
04/26/2021, 7:19 AMImage(painterResource(resourceId))
and not bother with Coil at all?Samir Basnet
04/26/2021, 7:21 AMsindrenm
04/26/2021, 7:26 AMPainter
to `Coil()`/`rememberCoilPainter()` , in which case Image()
should be used, but it seems passing resource IDs directly is still supported. My bad. simple smileSamir Basnet
04/26/2021, 7:28 AMcb
04/26/2021, 7:54 AMcb
04/26/2021, 7:56 AMdrawable-nodpi
or raw
, otherwise it will be density-scaled, then potentially scaled to the size of the Image
which would slow things downcb
04/26/2021, 7:58 AMSamir Basnet
04/26/2021, 8:01 AMChachako
04/26/2021, 11:32 AM<http://Dispatchers.IO|Dispatchers.IO>
to load here?cb
04/26/2021, 11:35 AM<http://Dispatchers.IO|Dispatchers.IO>
isn't going to do much there. You can customize Coil's ImageLoader
as you see fit, including the dispatcher it uses.