runIfReachedShowCounts

fun runIfReachedShowCounts(block: () -> Unit): Balloon.Builder

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.

fun runIfReachedShowCounts(runnable: Runnable): Balloon.Builder

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