Skip to content

Releases: RedMadRobot/gears-android

gears-kotlin 0.1.0

02 Aug 09:53
d74ff1d
Compare
Choose a tag to compare

Added

  • T.applyIf - Applies the given block of modifications to the T if the condition is true
  • T.applyIfNotNull - Applies the given block of modifications to the T if the value is not null

Full Changelog: 5522370...daf5c33

gears-compose 0.1.0

02 Aug 10:07
9075433
Compare
Choose a tag to compare

Added

  • FixedFontScaleContainer - A container that fixes the font scale, ignoring values that are set in the phone's system settings

Full Changelog: 9d63294...e67924a

resultflow 0.1.0

01 Aug 11:56
a65ff8c
Compare
Choose a tag to compare

Initial public release

Full Changelog: 9ada442...resultflow-v0.1.0

fragment-args-ktx 1.3.6-1

16 Nov 16:04
3353ebb
Compare
Choose a tag to compare

Changes

  • Breaking change!
    Removed default parameters implementation from delegates to prevent mistakes when a value was not written before reading (#37).
    IllegalStateException will be thrown by default if you're trying to read a value that wasn't written before.
    If you need to return the default value instead, specify the default parameter manually.
  • Added parameter key: String to default lambda.

core-ktx 1.6.0-2

16 Nov 16:10
ec4d0fb
Compare
Choose a tag to compare

Fixed

  • SharedPreferences delegates: added ability to use delegate in local and top-level properties

resources-ktx 1.3.1-0

03 Oct 07:48
75ffcd4
Compare
Choose a tag to compare

Added

  • Context: added type checks to extensions resolveColor
  • Context: new extensions resolveDimension, resolveDimensionPixelSize and resolveDimensionPixelOffset
  • Context: new extensions resolveBoolean, resolveInt, resolveFloat and resolveString
  • Fragment: new extensions getQuantityString
  • View: new extensions getQuantityString

Fixed

  • Inline modifier added back to all resource accessors

Dependencies

  • androidx.appcompat 1.3.0 -> 1.3.1
  • androidx.core 1.5.0 -> 1.6.0
  • androidx.fragment 1.3.5 -> 1.3.6
  • kotlin-stdlib 1.5.20 -> 1.5.31

core-ktx 1.6.0-1

03 Oct 09:00
c5e322e
Compare
Choose a tag to compare

Added

  • Canvas: new extensions withClipOut

Changed

  • Potentially breaking change!
    Removed default parameter from *Nullable delegates, it will always return null by default.

Fixed

  • Added inline modifier to Keyboard extensions
  • Default value in SharedPreferences delegate should not be evaluated before it needed (similar to #31)

Dependencies

  • kotlin-stdlib 1.5.20 -> 1.5.31

fragment-args-ktx 1.3.6-0

02 Oct 13:16
a41f686
Compare
Choose a tag to compare

Changes

  • Potentially breaking change!
    Parameter default removed from *Nullable delegates.
    1. In case you want to return a non-null value by default, you should use the non-nullable version of delegate,
    2. If you want to return null it is the default behavior,
    3. If you want to return either null or non-null value depending on some condition you should do it in the place where you read the value from the delegate.

Fixes

  • Default value will be evaluated only if given key is not present in the bundle or value associated with the key is null (#31)

Dependencies

  • androidx.fragment 1.3.5 -> 1.3.6
  • kotlin-stdlib 1.5.20 -> 1.5.31

viewbinding-ktx 4.2.1-0

27 Jun 12:24
ee3e3ab
Compare
Choose a tag to compare

Dependencies

  • kotlin-stdlib-jdk8 1.4.32 -> kotlin-stdlib 1.5.20
  • androidx.databinding:viewbinding 4.1.2 -> 4.2.1
  • androidx.fragment 1.3.0 -> 1.3.5
  • androidx.lifecycle 2.3.0 -> 2.3.1

resources-ktx 1.3.0-0

27 Jun 07:00
d2448fc
Compare
Choose a tag to compare

Dependencies

  • kotlin-stdlib-jdk8 1.4.32 -> kotlin-stdlib 1.5.20
  • androidx.appcompat 1.2.0 -> 1.3.0
  • androidx.annotation 1.1.0 -> 1.2.0
  • androidx.core 1.3.0 -> 1.5.0
  • androidx.fragment 1.3.0 -> 1.3.5

Added

  • Wrapper Text to make it possible to work with plain String and StringRes in the same way.