-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Android] Shell Navigation to a page without a Tabbar #27779
base: main
Are you sure you want to change the base?
Conversation
Hey there @kubaflo! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you include an UITest?
@@ -77,6 +77,9 @@ public override AView OnCreateView(LayoutInflater inflater, ViewGroup container, | |||
_navigationArea = PlatformInterop.CreateNavigationBarArea(context, _outerLayout); | |||
_bottomView = PlatformInterop.CreateNavigationBar(context, Resource.Attribute.bottomNavigationViewStyle, _outerLayout, this); | |||
|
|||
//This layout chage happens when fragment manager has completed a transaction | |||
_navigationArea.LayoutChange += (s, e) => UpdateTabBarVisibility(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Subscribe to the event when creating the View but also unsubscribe when destroying it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!. Done
0c3e731
to
38ce93c
Compare
What could we test in here? |
Issues Fixed
Fixes #27980
Screen.Recording.2025-02-13.at.15.25.35.mov
Screen.Recording.2025-02-13.at.15.21.54.mov