Created
February 17, 2023 18:01
-
-
Save LDRAlighieri/e09d34dd0c5bcaddf3728243fa03ae54 to your computer and use it in GitHub Desktop.
Example of corbind-material ChipGroup.checkedChanges extension
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
binding.choiceChipGroup.checkedChanges() | |
.dropInitialValue() | |
.map { checkedIds -> state.change(checkedIds) } | |
.shareIn(scope = scope, started = SharingStarted.Eagerly, replay = 1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment