Releases: Backbase/DeferredResources
1.6.1
1.6.0
1.5.0
Introduce the deferred-resources-compose-adapter artifact for Jetpack Compose UI. This provides APIs for resolving existing Deferred Resources types in a Compose UI context. For example, rememberResolvedColor resolves a DeferredColor as an androidx.compose.ui.graphics.Color.
Compile with Kotlin 1.5.10 and AndroidX Core-KTX 1.5.0.
1.4.0
Add the ability to define a DeferredDimension.Constant with DP and SP units, in addition to the default PX.
1.3.0
Add a number of Parcelable deferred types, such as ParcelableDeferredText and ParcelableDeferredColor. Ensure each concrete deferred type shipped in this library, such as DeferredText.Constant and DeferredText.Resource, implements a Parcelable parent interface.
DeferredDrawable and DeferredTypeface are the only types without Parcelable options, because their resolved types are also not Parcelable.
1.2.1
Compiled with Kotlin 1.4.21.
1.2.0
Introduce DeferredDrawable.Attribute to support drawable attribute resolution.
1.1.0
Introduce SdkIntDeferredColor, a DeferredColor implementation that delegates to different DeferredColor sources depending on the Android OS runtime version.
Add a few extension functions for accessibility to the view extensions library, including setContentDescription.
Use AppCompat to improve DeferredColor and DeferredDrawable implementations on Android OS versions < 23. In particular, default DeferredColor implementations can resolve attribute-backed color selectors, and default DeferredDrawable implementations can resolve vector drawables and tints correctly.
Compile with Kotlin 1.4.10 and publish the source code in explicit mode.
Target Android SDK 30.
1.0.0
🚀 Official stable release!
Add DeferredColor.resolveToStateList to support resolving color <selector> elements from XML resources and attributes.
0.5.1
Update internal DeferredColor.Resource and DeferredColor.Attribute logic to resolve the default color of color selector resources instead of crashing.