https://kotlinlang.org logo
#compose
Title
# compose
c

Colton Idle

07/18/2021, 2:18 AM
For anyone that wasn't aware. accompanist coil and glide are deprecated. https://github.com/google/accompanist/releases I moved to coil directly since it added support for compose and the apis seem to be easier to work with, I don't need a weird crop type anymore, and the intermittent image loading failures are all gone. Great job coil team and of course thanks to accompanist team for paving the way.
🙏 2
1
🎉 8
🔝 1
❤️ 1
🚀 1
s

Shakil Karim

07/18/2021, 7:57 AM
@Colton Idle Can you please explain more about "intermittent image loading failures are all gone."?
c

Colton Idle

07/19/2021, 1:02 AM
If I had a page that was supposed to load the same image 10 times (think a user avatar in a conversation list) then like randomly a single image wouldn't load. Haven't experienced this yet with coil-compose.
👍 1
Actually. I can repro the intermittent loading issues. The weird crop type issue is gone though and the crossfade api is simpler. Can use a thumbs up here if you plan on using coil-compose https://github.com/coil-kt/coil/issues/812
3 Views