This application receive your push messages and store it to list view.
![alt tag](https://raw.github.com/RomanSaldan/Homework_L19/master/app/src/main/res/drawable/background_image.png)
API:
1. To display stored notification click on it in listview of notifications.
2. If you want to delete some of stored notifications you can do it by getting context menu on this notification in list and select "Delete" option.
3. You can also delete all of stored notifications by getting context menu on any of stored notifications and select "Delete all" option.
4. For sending push notification use next JSON code snippet
{ "registration_ids" : ["YOUR_DEVICE_KEY"], "data" : { "message" : "notification_message", "title" : "notification_title", "subtitle" : "notification_subtitle", "tickerText" : "notification_ticker", "sound" : "on/off", "vibration" : "on/off" } }When you build push notification dont forget to set next options:
"Authorization" - "key=AIzaSyDimJbJ2ZL3nOkoA13zuFgMpJ2NwtgGYVs"
"Content-Type" - "application/json"
You can download apk from DropBox: download