Does anyone know if there is a way to group a notification in the status bar but not in the list of notifications?
I want to show only one icon in the status bar but
As I undestood there is only possible to either group both notifications on both places or to create several notifications which will cause several notifications in the status bar. Is this the case?
Yes, but you can create as complex of a custom Notification view as you want, via the contentView
field on Notification
. This is a RemoteViews, better known as the what you use for rendering a home screen app widget. So, while there can only be one entry in the notification drawer for you, you can have it have several buttons each firing a separate PendingIntent
.