runIfReachedShowCounts

sets a lambda for invoking after the preference showing counts is reached the goal. This method should be used ith the setPreferenceName and setShowCounts.

See also

(https://github.com/skydoves/balloon#persistence)

Parameters

block

A lambda for invoking after the preference showing counts is reached the goal.


sets a Runnable for invoking after the preference showing counts is reached the goal. This method should be used ith the setPreferenceName and setShowCounts.

See also

(https://github.com/skydoves/balloon#persistence)

Parameters

runnable

A Runnable for invoking after the preference showing counts is reached the goal.


var runIfReachedShowCounts: () -> Unit? = null