private void obtainCloseIcon ( @ NonNull final TypedArray typedArray ) { Drawable icon = typedArray . getDrawable ( R . styleable . Chip_closeButtonIcon ) ; if ( icon != null ) { setCloseButtonIcon ( icon ) ; } }
Obtains the icon of the button which allows to close the chip from a specific typed array .