'Push notifications on content change

Let's say I have an Android application that simply builds a ListView with content got from a random REST API.

Imagine now I need to send push notifications when new content is available on the API. What's the simplest way to do this ?

I'm a bit confused with the process of push notifications on Android. I took a look at Firebase, but I don't know if I mandantory need a database on Firebase that stores the result as new content is available through the API, and then triggers a notification on the database update, or if I don't need a database, etc.

As you can see it's very unclear to me so any help is much appreciated. Thanks !



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source