NotificationCenterPanelContainer

constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0, notificationPanelListContainer: NotificationCenterPanelContainer.NotificationCenterNotificationPanelListContainer = NotificationCenterNotificationPanelListContainer(context).apply { setDismissiblePanelListContainerAttributes(context, attrs) })

Parameters

context

The Context the view is running in, through which it can access the current theme, resources, etc.

attrs

The attributes of the XML tag that is inflating the view.

defStyleAttr

An attribute in the current theme that contains a reference to a style resource that supplies default values for the view. Can be 0 to not look for defaults.

notificationPanelListContainer

the panel list container that will be used to delegate the PanelContainer calls to.