How to access BottomNavigationView from TabbedView handler? #16344
-
I have TabbedPage custom renderer that allows me to add a badge to menu items. It works as expected in MAUI app, but in order to resolve the problem caused by bug #9743 I have to migrate this renderer to handler. The issue is that I can't figure out how to access BottomNavigationView instance and call GetOrCreateBadge() method from handler. Please advise on how it can be achieved. Here is how it is done in custom renderer (simplified):
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Currently cannot be accessed through normal methods because the direct methods have been removed or changed to non-exposed。 |
Beta Was this translation helpful? Give feedback.
-
it is a problem for me also.
|
Beta Was this translation helpful? Give feedback.
it is a problem for me also.
I'm working around it by using reflection on the TabbedPage to access the internal members...