Animated-Icons
Animated-Icons copied to clipboard
Update setNotificationCount count
how can i update setNotificationCount numbers? by default i can set to that, i'm trying to incrementing that
my solution:
iconEwallet.setAnimatedIcon(IconFactory.iconNotificationAlert().setNotificationCount(cnt));
iconEwallet.startAnimation();
iconEwallet.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
cnt = cnt + 1;
Log.e("cnt ", cnt + "");
iconEwallet.setAnimatedIcon(IconFactory.iconNotificationAlert().setNotificationCount(cnt));
iconEwallet.startAnimation();
}
});