Animated-Icons icon indicating copy to clipboard operation
Animated-Icons copied to clipboard

Update setNotificationCount count

Open pishguy opened this issue 7 years ago • 0 comments

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();
       }
   });

pishguy avatar May 30 '17 05:05 pishguy