BalloonPersistence

class BalloonPersistence

BalloonPreferenceManager helps to persist showing counts.

Types

Companion
Link copied to clipboard
object Companion

Functions

clearAllPreferences
Link copied to clipboard
fun clearAllPreferences()
clears all persisted preferences.
putIncrementedCounts
Link copied to clipboard
fun putIncrementedCounts(name: String)
puts a incremented show-up counts to the preference.
shouldShowUp
Link copied to clipboard
fun shouldShowUp(name: String, counts: Int): Boolean
should show or not the popup.