Skip to content

fix(android): BottomNavigation fragment child already has a parent - #9148

Merged
NathanWalker merged 2 commits into
masterfrom
fix/android-bottomnav
Jan 17, 2021
Merged

NathanWalker merged 2 commits into
masterfrom
fix/android-bottomnav

Conversation

@NathanWalker

Copy link
Copy Markdown
Contributor

PR Checklist

What is the current behavior?

Android BottomNavigation was super fragile, prone to bugs and race conditions due to poor fragment handling.

What is the new behavior?

Android BottomNavigation is stable and reliable.

closes #8132
closes #7901
closes #9051
closes #8251

@NathanWalker
NathanWalker requested a review from rigor789 January 17, 2021 01:51
rigor789
rigor789 previously approved these changes Jan 17, 2021

@rigor789 rigor789 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, though I think we could clean up the nesting a little bit to make it a bit easier to follow/read, and perhaps debug when necessary.

Left some suggestions to change var to const, but regardless this looks fine to merge. 🚀

Comment thread packages/core/ui/bottom-navigation/index.android.ts Outdated
Comment thread packages/core/ui/bottom-navigation/index.android.ts Outdated
Comment thread packages/core/ui/bottom-navigation/index.android.ts Outdated
@cla-bot cla-bot Bot added the cla: yes label Jan 17, 2021
@NathanWalker
NathanWalker merged commit 4690162 into master Jan 17, 2021
@NathanWalker
NathanWalker deleted the fix/android-bottomnav branch January 17, 2021 17:21
rigor789 added a commit that referenced this pull request Jan 20, 2021
* chore(release): @nativescript/core@7.1.1

* feat(core): rollup additional Utils

* fix(webpack): support other workspace config styles

* chore(release): @nativescript/core@7.1.2

* fix(android): BottomNavigation fragment child already has a parent (#9148)

closes #8132
closes #7901
closes #9051
closes #8251

* chore(release): @nativescript/core@7.1.3

* types: missing typings for iosIgnoreSafeArea (#9153)

* Update build-docs.sh

Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
Co-authored-by: Martin Guillon <martin.guillon@akylas.fr>
@itsmerockingagain

Copy link
Copy Markdown

any fix for ns 6?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment