Removed native popToBackstack call.

Implemented custom fragment save/restore state.
When navigating back we reverse manually transitions/animations because we no longer add them to navite backstack.
Fragment instance stored on entry.
Animation and Transition listeners now holds reference to entry instead of fragment for easier update of fragment.
Animation and Transition listeners removed when entry removed from backstack.
Animation and Transition removed from fragment when fragment activity is destroyed.
This commit is contained in:
Hristo Hristov
2017-10-16 09:42:21 +03:00
parent 4d23e3777d
commit 8026e46a72
4 changed files with 4 additions and 4 deletions