example/src/main/java/de/mrapp/android/view/example/MainActivity.java
private void initializeChips() {
        Chip closableChipLight = findViewById(R.id.chip_closable_light);
        closableChipLight.addCloseListener(createChipCloseListener());
        Chip closableChipDark = findViewById(R.id.chip_closable_dark);
        closableChipDark.addCloseListener(createChipCloseListener());
        Chip closableIconChipLight = findViewById(R.id.chip_icon_closable_light);
        closableIconChipLight.addCloseListener(createChipCloseListener());
        Chip closableIconChipDark = findViewById(R.id.chip_icon_closable_dark);
        closableIconChipDark.addCloseListener(createChipCloseListener());
    }
private void initializeChips() {
        Chip closableChipLight = findViewById(R.id.chip_closable_light);
        closableChipLight.addCloseListener(createChipCloseListener());
        Chip closableChipDark = findViewById(R.id.chip_closable_dark);
        closableChipDark.addCloseListener(createChipCloseListener());
        Chip closableIconChipLight = findViewById(R.id.chip_icon_closable_light);
        closableIconChipLight.addCloseListener(createChipCloseListener());
        Chip closableIconChipDark = findViewById(R.id.chip_icon_closable_dark);
        closableIconChipDark.addCloseListener(createChipCloseListener());
    }
private void initializeChips ( ) { Chip closableChipLight = findViewById ( R . id . chip_closable_light ) ; closableChipLight . addCloseListener ( createChipCloseListener ( ) ) ; Chip closableChipDark = findViewById ( R . id . chip_closable_dark ) ; closableChipDark . addCloseListener ( createChipCloseListener ( ) ) ; Chip closableIconChipLight = findViewById ( R . id . chip_icon_closable_light ) ; closableIconChipLight . addCloseListener ( createChipCloseListener ( ) ) ; Chip closableIconChipDark = findViewById ( R . id . chip_icon_closable_dark ) ; closableIconChipDark . addCloseListener ( createChipCloseListener ( ) ) ; }
Initializes all closable chips.
Initializes all closable chips .