KCounter

class KCounter(initialValue: Int = 0, val min: Int = Int.MIN_VALUE, val max: Int = Int.MAX_VALUE, val step: Int = 1)(source)

Constructors

Link copied to clipboard
constructor(initialValue: Int = 0, min: Int = Int.MIN_VALUE, max: Int = Int.MAX_VALUE, step: Int = 1)

Properties

Link copied to clipboard
val count: Int
Link copied to clipboard
val max: Int
Link copied to clipboard
val min: Int
Link copied to clipboard
val state: StateFlow<Int>
Link copied to clipboard
val step: Int

Functions

Link copied to clipboard
fun decrement()
Link copied to clipboard
fun increment()
Link copied to clipboard
fun reset()
Link copied to clipboard
fun set(value: Int)