Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Update GlideImage previewPlaceholder
  • Loading branch information
KwonDae authored Mar 20, 2024
1 parent f2da54e commit 5e0af9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`**.
Expand Down

0 comments on commit 5e0af9d

Please sign in to comment.