Skip to content

chipGroup.getCheckedChipIds() does not seem to update #2691

@NLLAPPS

Description

@NLLAPPS

I don't have time to create a sample app to show the bug but chipGroup.getCheckedChipIds() does not seem to return up to date list of checked chips.

My use case is doing search as user taps and checks/unchecks filters. I used to rely on getCheckedChipIds to filter search results. Just noticed that it does not return up to date list of checked items. Cannot say which version broke it.

chipGroup.children.filter { (it as? Chip)?.isChecked ?: false }.map { it.id } works fine

Version I am using is 1.6.0

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions