fix(android): nested fragment disappears on parent fragment removal #6677
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
TODO: Known crash with Flip navigation due to not handling AnimatorSet animator properly.TODO: consider implementing base fragment class in widgets and place the shared code between frame and tab fragment there.TBD: consider do we need a property to enable / disable lollipop transitions (currently implicitly disabled for nested frame scenarios). This property could be useful in other cases as well e.g. this bug #6510 is only present for the "lollipop" Slide transition but if we use our own implementation, it is OK (if user could disable "lollipop" explicitly, it would work).
Fixes: #6641
Fixes: #6659
Fixes: #6698
Fixes: #6633
Fixes: #6630
Merge after NativeScript/tns-core-modules-widgets#154
BREAKING CHANGE:
[Android] Explode transition cannot be used when navigating in nested frame scenarios.
[Android] Custom nested fragments should inherit from
org.nativescript.widgets.FragmentBaseclass instead ofandroid.support.v4.app.Fragmentdirectly to benefit from the applied workaround for https://code.google.com/p/android/issues/detail?id=55228