ismaeldivita / chip-navigation-bar

An android navigation bar widget
MIT License
877 stars 135 forks source link

API to change badge and text color for each menu item at runtime? #99

Open IODevBlue opened 1 year ago

IODevBlue commented 1 year ago

It'd be great to change the badge and text color for a specific menu item in code.

I'm having a really hard time trying to sync a theme dynamically without restarting the Activity.

I tried replacing the menu resource with setMenuResource() but I still cannot manipulate the badge color without editing the core API.

Also, It'd be great to be able to validate if a given menu item has a visible badge at runtime. There's no API for that.