Tash
07/28/2021, 2:30 PMTgo1014
07/28/2021, 2:48 PMcb
07/28/2021, 2:52 PMWhy was this done?Because we no longer had time to maintain it, and none of our samples, etc were using it. Accompanist was and always has been an incubator for things which aren't quite available yet. With Coil migrating away, it didn't make sense to continue working on Glide.
Is Coil the recommended official solution?It's not an official solution, but it is the solution which I recommend. Glide is very much built on top of views, and has a lot of assumptions and hooks which assume that it will be run on views. The Accompanist library had a lot of hacks just to make Glide work. Coil on the other hand is Coroutines based image fetcher, with some light integration for views. Compose + Coroutines = ♥️ , which means that the integration for Coil is pretty seamless.
cb
07/28/2021, 2:52 PMIs Glide -> Coil migration now a pre-requisite of Android View -> Compose migration?Not necessarily. There are other libraries available which support Glide, such as Landscapist: https://github.com/skydoves/landscapist
cb
07/28/2021, 2:56 PMTash
07/28/2021, 5:39 PM