-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[REVERTED] [Android] Fix BottomNavigationItemView issue with MasterDetailPage #9187
Conversation
@kvpt The fix makes sense to me. However, it would be great if we could add a repro sample to validate it in Core Gallery. I downloaded the repro sample from #9143 but there must be an error since it is an App using the empty project template. The structure that causes the error is:
Right?. |
@jsuarezruiz The code of the reproduction is in the App.xaml.cs. |
@jsuarezruiz |
I added a repro sample, although I can't reproduce the issue in Core Gallery. |
It seems like this doesn't reproduce because the ID overlap happens here
Once you're in the context of the gallery the generated ids aren't at a value that will overlap any menu items |
Description of Change
On certains conditions MasterDetailPage can be in conflict with BottomNavigationView.

Like this :
The issue disappear if the BottomNavigationItem id are correctly set.

The BottomNavigationItem id was 0, 1, 2 ... which seem to cause issue with the ViewPager because these id are already used is others views in Android.
I tried to make an UI test case based on the reproduction in #9143, and you know what, impossible to reproduce in the UI test app. The problem seem to only occur during the app start.
Issues Resolved
API Changes
None
Platforms Affected
Behavioral/Visual Changes
None
Before/After Screenshots
Not applicable
Testing Procedure
Use reproduction in #9143
PR Checklist