Contents
How do I get more than one notification on android?
Just create random number for notification_id. Replace your line with this. in below code “not_nu” is an random int.. PendingIntent and Notification have the same ID .. so that on each notification click the intent will direct to different activity..
How do I stack notifications on Android?
To create a stack, call setGroup() for each notification you want in the stack and specify a group key. Then call notify() to send it to the wearable.