NotificationBannerListener

Functions

Link copied to clipboard
open fun onContentHeightChange(height: Float)

Called when the banner's content height changes, before the next layout pass. Reports 0 when there's nothing to show.

Link copied to clipboard
open fun onLoadError(error: Throwable)

The component executes this callback function when a load failure occurs.

Link copied to clipboard
open fun onLoaderStart()

The component executes this callback function before any UI is displayed to the user.

Link copied to clipboard
open fun onNotificationsChange(total: Int, actionRequired: Int)

Called when the total number of notifications, or the number that require action, changes.