Simple Stack 2.4.0
Simple-Stack 2.4.0 (2020-07-08)
- SIGNATURE CHANGE:
GlobalServices.Factorynow receivesBackstackparameter 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@Nonnullwas missing. -
MINOR FIX: Adding the
BackstackfromserviceBinder.getBackstack()withaddService()would cause a loop intoBundle(). Now it explicitly throwsIllegalArgumentExceptioninstead 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.0for default scoping and default fragment behaviors. -
ADD:
GlobalServices.SCOPE_TAGto make it possible to see the scope tag of global services without relying on internals.