I want to implement stacked notifications on Android Wear To do that I create 1 summary notification and N individual notifications for each \"item\". I want only the summar
Fixed this by using
NotificationManagerCompat notificationManager = NotificationManagerCompat.from(this);
instead of
NotificationManager notificationManager = (NotificationManager)getSystemService(Context.NOTIFICATION_SERVICE);
and replacing NotificationManager with NotificationManagerCompat in corresponding method signatures.
You Just Remove showSingleNotification
method and replace
notificationManager.notify(123456, notification);
with
notificationManager.notify(123456, builder);
and its work fine.