I've chip group that I want to disable when some operation happen.
Currently my code look like this:
R.id.all -> {
chipGroup.clearCheck()
chipGroup.isClickable = false
selectedCategory = null
}
It does clear all the checks, but I still can click and select chips.
How can I prevent all the chips from being clicked?