android - Increment push notification number -


i use parse.com android app's backend. send push notifications users using parse cloud code. when send multiple pushes user, gets multiple push notifications, how increment number in notification in phone rather making multiple notifications appear?

when publish notification, specify id, (the number 123 in example):

intent notificationintent = new intent(mactivity, notificationpublisher.class);         notificationintent.putextra(notificationpublisher.notification_id, 123); 

if want send new notification, , replace one, make sure set same id when send new notification (which replace existing notification new content)


Comments

Popular posts from this blog

c - Calling a function within a loop -

vb.net - Unbound DataGridView add row with checkbox error -

How i fill combobox items in Radgridview manually using in vb.net -