Get selected Chips from a ChipGroup
问题 I'm new to working with Chips in Android. I want to get the selected Chips from a ChipGroup when I click a button. Made is someway work with checking every Chip and add it to a Set, but want to make it more efficient. Somehow I didn't find an answer to my question myself. There is also an error when I check 2 Chips and uncheck the first one I checked. Here my code: <com.google.android.material.chip.ChipGroup android:id="@+id/chipGroup" android:layout_width="300dp" android:layout_height="wrap