Skip to content

Instantly share code, notes, and snippets.

@skydoves
Created January 4, 2026 08:58
Show Gist options
  • Select an option

  • Save skydoves/f48fa601933bc7d52c438b0b69a30499 to your computer and use it in GitHub Desktop.

Select an option

Save skydoves/f48fa601933bc7d52c438b0b69a30499 to your computer and use it in GitHub Desktop.
Landscapist: Migration from Coil
// Before: Coil
CoilImage(
model = imageUrl,
contentDescription = "Photo",
component = rememberImageComponent {
+ShimmerPlugin()
+CrossfadePlugin()
}
)
// After: LandscapistImage (identical API)
LandscapistImage(
model = imageUrl,
contentDescription = "Photo",
component = rememberImageComponent {
+ShimmerPlugin()
+CrossfadePlugin()
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment