Skip to content

Add values of enumeration ClearFlag

Adding these flags will allow you to call the cleanup method with more variability

For example, we can set the behaviour for the "Clear All Notifications" button

-        historyModel.clear(NotificationManager.Notifications.ClearExpired);
+        historyModel.clear(NotificationManager.Notifications.ClearAnyNotification | NotificationManager.Notifications.ClearExpiredJob);
Edited by Mikhail Vinogradov

Merge request reports

Loading