From 5e0af9d4b456a351853e7e34e2af826147e29f26 Mon Sep 17 00:00:00 2001 From: Daewon Kwon <33443660+KwonDae@users.noreply.github.com> Date: Wed, 20 Mar 2024 16:46:18 +0900 Subject: [PATCH] Update README.md Update GlideImage previewPlaceholder --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 30132563..1704424c 100644 --- a/README.md +++ b/README.md @@ -543,7 +543,7 @@ Landscapist supports preview mode for each image library; **Glide**, **Coil**, a GlideImage( imageModel = { imageUrl }, modifier = Modifier.aspectRatio(0.8f), - previewPlaceholder = R.drawable.poster + previewPlaceholder = painterResource(id = R.drawable.poster) ) ``` > **Note**: You can also use the the `previewPlaceholder` parameter for **`CoilImage`** and **`FrescoImage`**.