Skip to content

Commit

Permalink
Release 1.6.0 (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshu-bb authored Sep 29, 2021
1 parent 010fc2d commit 4f8118d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# CHANGELOG

## 1.6.0
_2021-09-29_

Introduce the `deferred-resources-animation-lottie` artifact for supporting Lottie animations.
This provides APIs for resolving existing Deferred Drawable types into a `LottieDrawable`.

Compile with Kotlin 1.5.21 and AndroidX Core-KTX 1.5.0.

## 1.5.0
_2021-07-03_

Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ repository](https://oss.sonatype.org/#view-repositories;snapshots~browsestorage)
implementation "com.backbase.oss.deferredresources:deferred-resources:$version"
implementation "com.backbase.oss.deferredresources:deferred-resources-view-extensions:$version"
implementation "com.backbase.oss.deferredresources:deferred-resources-compose-adapter:$version"
implementation "com.backbase.oss.deferredresources:deferred-resources-animation-lottie:$version"
```

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

### Jetpack Compose UI

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

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

### Lottie animations

For each `Drawable` type, the `deferred-resources-animation-lottie` library offers a new
`DeferredLottieDrawable` class which resolves [Lottie](https://github.com/airbnb/lottie-android) files
into a `LottieDrawable`. This API is useful if one wishes to configure animations in their app.

## License
```
Copyright 2020 Backbase R&D, B.V.
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ publishGroup=com.backbase.oss.deferredresources
# Actions for release to fail.
# Supported: 1.2.3, 1.3.0, 1.3.0-alpha01, 1.3.1-alpha01, 1.3.1-SNAPSHOT
# Not supported: 1.3.0-alpha.1, 1.3.0.1
libraryVersion=1.6.0-SNAPSHOT
libraryVersion=1.6.0

# Whether the Compose adapter module is compiled with the project.
composeEnabled=true
Expand Down

0 comments on commit 4f8118d

Please sign in to comment.