How to get notification in my app

Hi everyone, I want to implement notifications in my app.
Just like below, and from what I’ve found is that can be done by local or push notification. But I’ve one question how will I get the notification on the in app icons like below once I’m inside the app, as badge notification tutorials show the notification on the app icon.