- Update simple-stack to 2.9.0.
- Update simple-stack to 2.8.0.
No other changes.
- Add
Fragment.lookupFrom(scopeTag, ...)
tofragments-ktx
.
- Add
Backstack.canFindFrom(scopeTag, ...)
andBackstack.lookupFrom(scopeTag, ...)
toservices-ktx
.
- Update simple-stack to 2.7.0.
- New artifact:
lifecycle-ktx
.
Currently, it allows lifecycle-aware observing of AheadOfTimeWillHandleBackChangedListener
on a Backstack
.
It changes the code from this:
backstack.addAheadOfTimeWillHandleBackChangedListener(updateBackPressedCallback)
}
override fun onDestroy() {
super.onDestroy()
backstack.removeAheadOfTimeWillHandleBackChangedListener(updateBackPressedCallback);
}
to this:
backstack.observeAheadOfTimeWillHandleBackChanged(this, backPressedCallback::setEnabled)
-
Update transitive AndroidX dependencies.
-
Update Kotlin to 1.8.10.
-
Update simple-stack to 2.6.5.
-
Update transitive AndroidX dependencies.
-
Update Kotlin to 1.7.10.
AndroidX demands compileSdkVersion 33, so the library is also updated to compileSdkVersion 33.
-
Update simple-stack to 2.6.4.
-
Update Kotlin to 1.5.32.
-
Replace
android-maven
plugin withmaven-publish
. -
Update transitive AndroidX dependencies.
AndroidX demands compileSdkVersion 31, so the library also updated to compileSdkVersion 31.
- 2.2.3 had an issue with
maven-publish
and is therefore skipped.
-
No significant changes.
-
Update simple-stack to 2.6.2.
-
No significant changes.
-
Update simple-stack to 2.6.1.
-
Update Kotlin to 1.4.32.
-
Added
core-ktx
module with the following new extensions:Backstack.addRetainedObject()
Backstack.removeRetainedObject()
Backstack.hasRetainedObject()
Backstack.getRetainedObject()
Backstack.getRetainedObjectOrNull()
Easiest to use with: import com.zhuinden.simplestackextensions.corektx.*
Core-ktx depends on features added in simple-stack 2.6.0
, so simple-stack-extensions 2.2.0
requires simple-stack 2.6.0
.
-
Make generics have bound as
: Any
(instead of implicit: Any?
). -
Update Kotlin to 1.4.30.
-
Update to simple-stack 2.6.0.
-
Added
GlobalServices.get()
andGlobalServices.getOrNull()
toservices-ktx
. -
Added
configureFragmentTransaction()
method toDefaultFragmentStateChanger
, making it more customizable. -
Added
example-sharedelements
usingconfigureFragmentTransaction()
which handles a shared element transaction with fragments. -
Added some missing
@Nonnull
s inDefaultFragmentKey
andKeyedFragment
. -
Update Kotlin to 1.4.21.
-
Update to simple-stack 2.5.0.
-
services
now depends onandroidx.annotation.annotation:1.1.0
. -
Add
@CallsSuper
toDefaultServiceProvider.bindServices()
inservices
. -
Fix in
fragments
, that when a FragmentTransaction was being executed (for example directly inonViewCreated
), trying to run another FragmentTransaction would throw an (undocumented) IllegalStateException.
Previously, this would have needed a handler.post {
on the user's side, but this isn't the user's responsibility.
Now, the DefaultFragmentStateChanger
postpones the FragmentTransaction for the next event loop.
- Add
Activity.androidContentFrame
tonavigator-ktx
.
-
Initial release.
-
Built against simple-stack 2.3.2.