private CompoundButton createChip(final LayoutInflater inflater, final TextParam text) {

        final CompoundButton chip = (CompoundButton) inflater.inflate(R.layout.chip_choice_view, this, false);
        text.applyTo(chip);
        chip.setOnClickListener(v -> checkAndSetAllNone());
        return chip;
    }
adds chips to this group programatically
main/src/main/java/cgeo/geocaching/ui/ChipChoiceGroup.java