I have cleared notification on the clicking on the notification. But when the next notification is pushed the cleared one also get stacked with the newly created. Any solution for this? The issue is not about clearing notifications, it is about why the already cleared notification appears again.
Asked
Active
Viewed 24 times
0
-
i hav used NotificationCompat.Builder builder = new NotificationCompat.Builder(context); builder.setAutoCancel(true); – George Thomas Feb 23 '18 at 06:17
-
but firstly on the clicke it gets cleared but when the next notification is pushed, the the both are stacked – George Thomas Feb 23 '18 at 06:18