Android - NotificationCompat.Builder stacking notifications with setGroup(group) not working
- 阅读更多 关于 Android - NotificationCompat.Builder stacking notifications with setGroup(group) not working
问题 I want to stack notifications using setGroup (as described here: https://developer.android.com/training/wearables/notifications/stacks.html) Basically, I use 0 as notification id (always the same) and builder.setGroup("test_group_key") but a new notification always replaces the previous one. What could be the problem ? Code: public BasicNotifier(Context context) { super(context); notifManager = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); mBuilder = new