Hello, I have 2 options to consider for Image Load...
# compose
s
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
Is
Glide
compatible with Compose out of the box? I don't think it is
s
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
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
Cool Thanks Andrew for your immediate response.