Package-level declarations

Functions

Link copied to clipboard
fun DebounceButton(onClick: () -> Unit, modifier: Modifier = Modifier, waitInterval: Long = Blocker.getInterval(), enabled: Boolean = true, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, elevation: ButtonElevation? = ButtonDefaults.elevation(), shape: Shape = MaterialTheme.shapes.small, border: BorderStroke? = null, colors: ButtonColors = ButtonDefaults.buttonColors(), contentPadding: PaddingValues = ButtonDefaults.ContentPadding, content: @Composable RowScope.() -> Unit)
Link copied to clipboard
fun DebounceCheckBox(checked: Boolean, onCheckedChange: (Boolean) -> Unit?, modifier: Modifier = Modifier, waitInterval: Long = Blocker.getInterval(), enabled: Boolean = true, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, colors: CheckboxColors = CheckboxDefaults.colors())

A DebounceCheckBox is a CheckBox that prevents multiple clicks in a short time. This callback only emit an item from an Observable if a particular timespan has passed without it emitting another item.

Link copied to clipboard
fun DebounceRadioButton(selected: Boolean, onClick: () -> Unit?, modifier: Modifier = Modifier, waitInterval: Long = Blocker.getInterval(), enabled: Boolean = true, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, colors: RadioButtonColors = RadioButtonDefaults.colors())

A DebounceRadioButton is a RadioButton that prevents multiple clicks in a short time. This callback only emit an item from an Observable if a particular timespan has passed without it emitting another item.

Link copied to clipboard
fun ThrottleButton(onClick: () -> Unit, modifier: Modifier = Modifier, skipInterval: Long = Blocker.getInterval(), enabled: Boolean = true, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, elevation: ButtonElevation? = ButtonDefaults.elevation(), shape: Shape = MaterialTheme.shapes.small, border: BorderStroke? = null, colors: ButtonColors = ButtonDefaults.buttonColors(), contentPadding: PaddingValues = ButtonDefaults.ContentPadding, content: @Composable RowScope.() -> Unit)
Link copied to clipboard
fun ThrottleCheckBox(checked: Boolean, onCheckedChange: (Boolean) -> Unit?, modifier: Modifier = Modifier, skipInterval: Long = Blocker.getInterval(), enabled: Boolean = true, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, colors: CheckboxColors = CheckboxDefaults.colors())

A ThrottleCheckBox is a Checkbox that prevents multiple clicks in a short time. This callback emit the most recent items emitted by an Observable within periodic time intervals.

Link copied to clipboard
fun ThrottleRadioButton(selected: Boolean, onClick: () -> Unit?, modifier: Modifier = Modifier, skipInterval: Long = Blocker.getInterval(), enabled: Boolean = true, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, colors: RadioButtonColors = RadioButtonDefaults.colors())

A ThrottleRadioButton is a RadioButton that prevents multiple clicks in a short time. This callback emit the most recent items emitted by an Observable within periodic time intervals.