BuzzBox SDK can store notifications in the local database and provides an activity to show the notification feed (all the historical notification that have been sent to the user)
Include in your manifest.xml
In the NotificationHistoryActivity is present in your manifest file, all the notifications
that go through the Notification Api will be saved in a local database.
The Activity can show all the notification created by a specific Task. To open the Activity use:
Intent intent = new Intent(HomeActivity.this, NotificationHistoryActivity.class); intent.putExtra("taskClass", SearchNewItems.class); intent.putExtra("windowTitle", "Best Apps: Latest Apps"); startActivity(intent);
Note that you must pass the taskClass to the History Activity
There is no particular code you have to implement to save items in the notification feed.
All the notification returned by your Task will be saved.
As shown in the picture, you can group notifications. Check out the notification api section for more details.