youssef hachicha
09/30/2024, 1:28 PMchrisjenx
09/30/2024, 4:42 PMyoussef hachicha
09/30/2024, 5:52 PMchrisjenx
09/30/2024, 5:53 PMchrisjenx
09/30/2024, 5:53 PMval imageLoader = remember {
ImageLoader(context).newBuilder().components { add(ImgixSizingInterceptor) }.build()
}
chrisjenx
09/30/2024, 5:54 PMSubcomposeAsyncImage
and not root levelyoussef hachicha
09/30/2024, 5:59 PMchrisjenx
09/30/2024, 6:00 PMyoussef hachicha
09/30/2024, 6:00 PMchrisjenx
09/30/2024, 6:34 PMchrisjenx
09/30/2024, 6:35 PMyoussef hachicha
09/30/2024, 6:56 PMyoussef hachicha
10/01/2024, 2:53 PMFailed to create image decoder with message 'unimplemented'. Input contained an error.
Additionally, I was able to locate the ImageRequest
for the failed images, so at least I can now redownload them. Here's the ImageRequest
of one of the failed images:
kotlin
ImageRequest(
context = packageName.activities.AppActivity@dc8156a,
data = /data/user/0/packageName/files/images/https___www.dropbox.com_scl_fi_tp3vnv117uncyp7ga0rgx_page337.png,
target = coil3.compose.AsyncImagePainter$updateRequest$$inlined$target$default$1@76c5374,
listener = null,
memoryCacheKey = null,
memoryCacheKeyExtras = {},
diskCacheKey = null,
fileSystem = NioSystemFileSystem,
fetcherFactory = null,
decoderFactory = null,
interceptorDispatcher = Dispatchers.Unconfined,
fetcherDispatcher = <http://Dispatchers.IO|Dispatchers.IO>,
decoderDispatcher = <http://Dispatchers.IO|Dispatchers.IO>,
memoryCachePolicy = ENABLED,
diskCachePolicy = ENABLED,
networkCachePolicy = ENABLED,
placeholderMemoryCacheKey = null,
placeholderFactory = coil3.util.Utils_commonKt$EMPTY_IMAGE_FACTORY$1@e61912,
errorFactory = coil3.util.Utils_commonKt$EMPTY_IMAGE_FACTORY$1@e61912,
fallbackFactory = coil3.util.Utils_commonKt$EMPTY_IMAGE_FACTORY$1@e61912,
sizeResolver = coil3.compose.internal.ConstraintsSizeResolver@eb532e0,
scale = FILL,
precision = INEXACT,
extras = Extras(data = {coil3.Extras$Key@c04b320=GlobalLifecycle}),
defined = Defined(
fileSystem = null,
interceptorDispatcher = null,
fetcherDispatcher = null,
decoderDispatcher = null,
memoryCachePolicy = null,
diskCachePolicy = null,
networkCachePolicy = null,
placeholderFactory = coil3.util.Utils_commonKt$EMPTY_IMAGE_FACTORY$1@e61912,
errorFactory = coil3.util.Utils_commonKt$EMPTY_IMAGE_FACTORY$1@e61912,
fallbackFactory = coil3.util.Utils_commonKt$EMPTY_IMAGE_FACTORY$1@e61912,
sizeResolver = coil3.compose.internal.ConstraintsSizeResolver@eb532e0,
scale = FILL,
precision = INEXACT
),
defaults = Defaults(
fileSystem = NioSystemFileSystem,
interceptorDispatcher = Dispatchers.Unconfined,
fetcherDispatcher = <http://Dispatchers.IO|Dispatchers.IO>,
decoderDispatcher = <http://Dispatchers.IO|Dispatchers.IO>,
memoryCachePolicy = ENABLED,
diskCachePolicy = ENABLED,
networkCachePolicy = ENABLED,
placeholderFactory = coil3.util.Utils_commonKt$EMPTY_IMAGE_FACTORY$1@e61912,
errorFactory = quran.ui.components.page.QuranImageKt$QuranImage$4$$ExternalSyntheticLambda4@16015b,
fallbackFactory = coil3.util.Utils_commonKt$EMPTY_IMAGE_FACTORY$1@e61912,
sizeResolver = RealSizeResolver(size = Size(width = Undefined, height = Undefined)),
scale = FIT,
precision = EXACT,
extras = Extras(data = {})
)
)
chrisjenx
10/01/2024, 2:57 PMyoussef hachicha
10/01/2024, 3:11 PMchrisjenx
10/01/2024, 3:12 PMyoussef hachicha
10/01/2024, 3:13 PMyoussef hachicha
10/01/2024, 3:13 PMcoil-network = { module = "io.coil-kt.coil3:coil-network-ktor", version.ref = "coil" }
youssef hachicha
10/01/2024, 3:14 PMchrisjenx
10/01/2024, 3:15 PMchrisjenx
10/01/2024, 3:15 PMchrisjenx
10/01/2024, 3:17 PMyoussef hachicha
10/01/2024, 3:25 PMchrisjenx
10/01/2024, 3:31 PM