Notification list screen
TerraCore v0
#
IntroductionNotificationUI
provides a built-in screen for showing received notifications of users.
#
Usage- Android
- iOS
For showing notification list, NotificationUI
use a fragment, called NotificationListFragment
.
To integrate NotificationListFragment
with Navigation component, follow the steps below:
NotificationListFragment
to the app's navigation graph#
Add Suppose we use a global action to navigate to NotificationListFragment
.
NotificationListFragment
#
Navigate to NotificationListFragment
#
Handle events from #
Push NotificationsListViewControllerNotificationsListViewController will be pushed to the top of current navigation bar.
#
Get embedded NotificationsListViewControllerIf you wanna get the viewController for presenting or embed into tabBar, just use func getEmbeddedNotificationsListViewController
. Then embed it into another host view controller and push/present like normally.