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

Satyam G

05/11/2022, 3:08 PM
Hello, I have 2 options to consider for Image Loading In Compose 1. Glide 2. Coil (a new boy in Town) Almost both share common features like 1. Both has Request Options functionality 2. Both give placeholder, error, success callback for Image 3. Both has Transitions & Transformations Support 4. Coil has extra AsyncImage Can anyone share performance insights with their experience ?? Only Glide has big size as compare to Coil Can anyone share experience on which we should consider at first place for using with Jetpack Compose ??? It would be of great help.Thanks
f

Filip Wiesner

05/11/2022, 3:11 PM
Is
Glide
compatible with Compose out of the box? I don't think it is
s

Satyam G

05/11/2022, 3:13 PM
No. we Need to write separate composable( will have Glide code to load Image from N/W) which will return Bitmap and then for Image composable we need to use that Bitmap
a

andrew

05/11/2022, 3:38 PM
Coil supports compose oob, it's been a blessing to use as compared to Glide
I've never had any issues with perf or anything with coil in practice, and I have apps in production using coil
s

Satyam G

05/11/2022, 3:41 PM
Cool Thanks Andrew for your immediate response.
2 Views