Splitties v2.0.0-alpha3
Pre-release
Pre-release
New features
Bundle
There are 2 new methods: bundleOrDefault(…)
and bundleOrElse { … }
to allow default values in BundleSpec
delegated properties.
Fragment Args
Like for BundleSpec
, there are 2 new methods: argOrDefault(…)
and argOrElse { … }
to allow default values in Fragment
delegated argument properties.
Breaking changes
Bundle
- The delegates previously returned by
bundle()
andbundleOrNull()
are no longer part of the public API and have been replaced by theReadWriteProperty
interface.
Fragment Args
- The
arg()
andargOrNull()
functions have moved out of thesupport
subpackage as there's no longer any ambiguity since platform Fragments are deprecated and going away. Auto-import should import the versions from the new package for you. - The delegates previously returned by
arg()
andargOrNull()
are no longer part of the public API and have been replaced by theReadWriteProperty
interface.