Releases: skydoves/landscapist
Releases · skydoves/landscapist
1.1.2
🎉 Released a new version 1.1.2
! 🎉
What's New?
- Migrated to Jetpack compose 1.0.0-alpha09.
- Updated kotlin version to
1.4.21
.
1.1.1
🎉 Released a new version 1.1.1
! 🎉
What's New?
- Migrated to Jetpack Compose 1.0.0-alpha08.
ImageAsset
attributes are changed toImageBitmap
.
Changed below ambient classes.
GlideRequestOptionsAmbient
->AmbientGlideRequestOptions
GlideRequestBuilderAmbient
->AmbientGlideRequestBuilder
CoilImageLoaderAmbient
->AmbientCoilImageLoader
FrescoImageRequestAmbient
->AmbientFrescoImageRequest
1.1.0
1.0.9
1.0.8
1.0.7
1.0.6
🎉 Released a new version 1.0.6
! 🎉
What's New?
- Implemented a shimmering effect.
We can use the shimmering effect inCoilImage
,GlideImage
,FrescoImage
like below.
CoilImage(
imageModel = imageUrl,
modifier = modifier,
circularRevealedEnabled = true,
shimmerParams = ShimmerParams(
baseColor = MaterialTheme.colors.background,
highlightColor = shimmerHighLight,
durationMillis = 350,
dropOff = 0.65f,
tilt = 20f
)
)
1.0.5
🎉 Released a new version 1.0.5
! 🎉
What's New?
We can show images with circular revealed animation using the below animations.
we can use the below attribute in CoilImage
, GlideImage
, FrescoImage
.
circularRevealedEnabled = true
And we can customize the duration of the animation using the below attribute.
circularRevealedDuration = 700
1.0.4
🎉 Released a new version 1.0.4
! 🎉
What's New?
- Added RequiresOptIn for
ExperimentalCoroutinesApi
, so we don't need to addExperimentalCoroutinesApi
annotation anymore. - Now supports Coil for loading images.
implementation "com.github.skydoves:landscapist-coil:<version>"
We can request and load images simply using a CoilImage
composable function.
CoilImage(
imageModel = imageUrl,
// Crop, Fit, Inside, FillHeight, FillWidth, None
contentScale = ContentScale.Crop,
// shows a placeholder imageAsset when loading.
placeHolder = imageResource(R.drawable.placeholder),
// shows an error imageAsset when the request failed.
error = imageResource(R.drawable.error)
)
You can fully reference details here.