-
- All Implemented Interfaces:
public final class BalloonPersistenceBalloonPreferenceManager helps to persist showing counts.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classBalloonPersistence.Companion
-
Method Summary
Modifier and Type Method Description final BooleanshouldShowUp(String name, Integer counts)should show or not the popup. final UnitputIncrementedCounts(String name)puts a incremented show-up counts to the preference. final UnitclearAllPreferences()clears all persisted preferences. -
-
Method Detail
-
shouldShowUp
final Boolean shouldShowUp(String name, Integer counts)
should show or not the popup.
-
putIncrementedCounts
final Unit putIncrementedCounts(String name)
puts a incremented show-up counts to the preference.
-
clearAllPreferences
final Unit clearAllPreferences()
clears all persisted preferences.
-
-
-
-