Check Mobile App
Read now
Start a Project

Updating Notifications to show stacked notification contents

Save

Many of us have used notifications in our android application but do you know we can update those shown notification in our application. When we make a notification we passes an Id in the notify(), as the syntax is

Its an unique id and its unique within your application, so when you passes another notification with the same id it overrides the previous one and creates a new notification.

So if we wanted a stacked notification of various events we have to

and then when you have a new message to show, the append it in setContentText() to show stacked messages in a notification.

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

css.php

When I think in getting solutions for my Ecommerce Platform, I think of Webkul. They have been such a blessing in our business. We have spent thousands of dollars in support and modules from them. We love their support team. They work very closely with us, and they always go the extra mile when we need help.

Michael Urresta

Michael Urresta

Talk to Sales

Global

Live Chat
Start a Project

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home