You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CustomBadgeProvider works in your demo application, but doesn't work in my app. It's really weird. What' more weird is you libary cause color #ffffff turns into color_primary in my app, that's really annonying.
I just write a simple CustomBadgeProvider.java.
public class CustomBadgeProvider extends BadgeProvider{
public CustomBadgeProvider(BottomNavigation navigation) {
super(navigation);
}
Drawable getBadge(@IdRes int itemId) {
return new BadgeDrawable(Color.BLUE, 192);
}
}
but the badge doesn't change as i write in getBadge method.
The text was updated successfully, but these errors were encountered:
Yes, I have defined in layout xml and it works in some devices. But it doesn't work in nexus 5 6.0.1. I think maybe it's the device problem or some thing.
The CustomBadgeProvider works in your demo application, but doesn't work in my app. It's really weird. What' more weird is you libary cause color #ffffff turns into color_primary in my app, that's really annonying.
I just write a simple CustomBadgeProvider.java.
but the badge doesn't change as i write in getBadge method.
The text was updated successfully, but these errors were encountered: