Skip to content

Releases: RedMadRobot/gears-android

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.

lifecycle-livedata-ktx 2.3.1-0

27 Jun 07:02
32b55b3
Compare
Choose a tag to compare

Dependencies

  • kotlin-stdlib-jdk8 1.4.32 -> kotlin-stdlib 1.5.20
  • androidx.lifecycle 2.3.0 -> 2.3.1
  • androidx.activity 1.2.0 -> 1.2.3
  • androidx.annotation 1.1.0 -> 1.2.0
  • androidx.fragment 1.2.0 -> 1.2.5

Added

  • Field EventQueue.events: List<Event> to get events stored in the queue.

fragment-ktx 1.3.5-0

26 Jun 18:56
72feeec
Compare
Choose a tag to compare

First release!

Added extension-function Fragment.addOnBackPressedCallback.

fragment-args-ktx 1.3.5-0

26 Jun 18:52
7b2feb9
Compare
Choose a tag to compare

Dependencies

  • kotlin-stdlib-jdk8 1.4.32 -> kotlin-stdlib 1.5.20
  • androidx.fragment 1.3.0 -> 1.3.5