Skip to content

Commit 4f8118d

Browse files
authored
Release 1.6.0 (#80)
1 parent 010fc2d commit 4f8118d

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# CHANGELOG
22

3+
## 1.6.0
4+
_2021-09-29_
5+
6+
Introduce the `deferred-resources-animation-lottie` artifact for supporting Lottie animations.
7+
This provides APIs for resolving existing Deferred Drawable types into a `LottieDrawable`.
8+
9+
Compile with Kotlin 1.5.21 and AndroidX Core-KTX 1.5.0.
10+
311
## 1.5.0
412
_2021-07-03_
513

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ repository](https://oss.sonatype.org/#view-repositories;snapshots~browsestorage)
1919
implementation "com.backbase.oss.deferredresources:deferred-resources:$version"
2020
implementation "com.backbase.oss.deferredresources:deferred-resources-view-extensions:$version"
2121
implementation "com.backbase.oss.deferredresources:deferred-resources-compose-adapter:$version"
22+
implementation "com.backbase.oss.deferredresources:deferred-resources-animation-lottie:$version"
2223
```
2324

2425
## Use
@@ -84,7 +85,7 @@ All text-related types can eventually be converted to `DeferredText` through sim
8485

8586
### Jetpack Compose UI
8687

87-
For each Deferred Resources type, the experimental `deferred-resource-compose-adapter` library
88+
For each Deferred Resources type, the experimental `deferred-resources-compose-adapter` library
8889
offers a `remember*` function to resolve the Deferred item to a standard Compose UI type.
8990

9091
```kotlin
@@ -96,6 +97,12 @@ val icon: Painter = rememberResolvedPainter(deferredDrawable)
9697
All of these APIs are marked as `@ExperimentalComposeAdapter` and should not be considered stable.
9798
Their behavior and binary compatibility are not guaranteed.
9899

100+
### Lottie animations
101+
102+
For each `Drawable` type, the `deferred-resources-animation-lottie` library offers a new
103+
`DeferredLottieDrawable` class which resolves [Lottie](https://github.com/airbnb/lottie-android) files
104+
into a `LottieDrawable`. This API is useful if one wishes to configure animations in their app.
105+
99106
## License
100107
```
101108
Copyright 2020 Backbase R&D, B.V.

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ publishGroup=com.backbase.oss.deferredresources
3434
# Actions for release to fail.
3535
# Supported: 1.2.3, 1.3.0, 1.3.0-alpha01, 1.3.1-alpha01, 1.3.1-SNAPSHOT
3636
# Not supported: 1.3.0-alpha.1, 1.3.0.1
37-
libraryVersion=1.6.0-SNAPSHOT
37+
libraryVersion=1.6.0
3838

3939
# Whether the Compose adapter module is compiled with the project.
4040
composeEnabled=true

0 commit comments

Comments
 (0)