Are there up-to-date samples for coil 3.x? Looks ...
# squarelibraries
t
Are there up-to-date samples for coil 3.x? Looks like how to initialize ImageLoader has been changed at some point in 3.0.0-alpha0x. But couldn't figure out equivalent. For example
NetworkFetcher
isn't available in 3.0.0-alpha06
Copy code
ImageLoader.Builder(context)
        .components {
            add(NetworkFetcher.Factory()) // Has changed at some point?
        }
        ...
c
The docs are a bit lacking at the moment as the APIs aren’t final, but your best bet is: https://coil-kt.github.io/coil/upgrading_to_coil3/
For changes in between alphas breaking changes are included in the CHANGELOG.
NetworkFetcher
was renamed in
alpha03
to support
OkHttpNetworkFetcherFactory
and
KtorNetworkFetcherFactory
depending on which networking library you use
t
Thanks! I'll check it!
đź‘Ť 1