You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Coil's AsyncImage has a placeholder attribute: placeholder: Painter? = null.
Please add support for it in ZoomableAsyncImage.
In the docs there's mention of using placeholders using placeholderMemoryCacheKey() but in Coil's website this is used for regular views, not Compose. And even if it can be used with Compose it would be much easier to support the placeholder attribute directly.
The text was updated successfully, but these errors were encountered:
Yea you can indeed set placeholders through ImageRequest.Builder but it only accepts drawables and resources. You can't use painters through telephoto yet.
@minas1 fwiw placeholderMemoryCacheKey is different from placeholder. It is useful for creating shared element transitions by using a previously loaded image in lower quality as the placeholder for loading a larger resolution variant.
Coil's
AsyncImage
has a placeholder attribute:placeholder: Painter? = null
.Please add support for it in
ZoomableAsyncImage
.In the docs there's mention of using placeholders using
placeholderMemoryCacheKey()
but in Coil's website this is used for regular views, not Compose. And even if it can be used with Compose it would be much easier to support the placeholder attribute directly.The text was updated successfully, but these errors were encountered: