Skip to content

Releases: Backbase/DeferredResources

0.5.0

14 Jul 15:35
Compare
Choose a tag to compare
0.5.0 Pre-release
Pre-release

Breaking change: Update DeferredDrawable.Resource's transformations constructor parameter to
receive the resolving Context as a parameter. This breaks binary compatibility by removing
constructors with a Function1 parameter in their signature (replaced by a Function2 parameter). This
also breaks source compatibility for Java consumers but not for Kotlin consumers.

Add deferred-resources-view-extensions to simplify use of Deferred Resources with Views. Basic
extensions are provided for View, TextView, and ImageView.

Add DeferredColorWithAlpha along with a corresponding withAlpha extension on DeferredColor, to
make alpha transformations on unresolved DeferredColors simple.

0.4.0

23 Jun 10:05
Compare
Choose a tag to compare
0.4.0 Pre-release
Pre-release

Add DeferredDimension.Attribute to support dimension attribute resolution. Add DeferredText.resolveToString as a convenience for converting the resolve CharSequence to a string.

Update minimum supported Java version to Java 8.

0.3.1

17 Jun 20:19
Compare
Choose a tag to compare
0.3.1 Pre-release
Pre-release

Add the @Px annotation to the integer pixel value parameter of DeferredDimension.Constant's convenience constructor.

0.3.0

09 Jun 08:35
Compare
Choose a tag to compare
0.3.0 Pre-release
Pre-release

Add a text package with various text helpers allowing conversion formatted and/or pluralized text and regular deferred text when partial resolution information is known (i.e. format arguments and/or quantity).

Add DeferredColorDrawable as a convenience for deferred creation of a solid-color Drawable.

Add a convenience constructor for parsing a color string to create a DeferredColor.Constant.

0.2.0

22 May 15:00
Compare
Choose a tag to compare
0.2.0 Pre-release
Pre-release

Add DeferredTypeface, DeferredIntegerArray, and DeferredTextArray.

0.1.0

15 May 10:53
Compare
Choose a tag to compare
0.1.0 Pre-release
Pre-release

Initial preview release. Declare booleans, colors, dimensions, drawables, integers, plurals, and text from resources or code without a Context, relying on the consumer to resolve them.