Simple Stack 2.4.0
Simple-Stack 2.4.0 (2020-07-08)
- SIGNATURE CHANGE:
GlobalServices.Factory
now receivesBackstack
parameter increate()
. (#231)
I'm aware this is technically "breaking", but the effect should be minor, and hopefully shouldn't cause problems.`
The Backstack
cannot be added as a service
directly, but it can be added as an alias
.
-
FIX:
GlobalServices.Factory
'screate()
method was non-null, but@Nonnull
was missing. -
MINOR FIX: Adding the
Backstack
fromserviceBinder.getBackstack()
withaddService()
would cause a loop intoBundle()
. Now it explicitly throwsIllegalArgumentException
instead sooner (not reported before). -
DEPRECATED:
backstack.removeAllStateChangeCompletionListeners()
. This was added "for convenience", but in reality it is not a good/safe API, and it should not exist. -
UPDATE: Create and release
simple-stack-extensions:2.0.0
for default scoping and default fragment behaviors. -
ADD:
GlobalServices.SCOPE_TAG
to make it possible to see the scope tag of global services without relying on internals.