private void initializeNoxViewConfig ( Context context , AttributeSet attrs , int defStyleAttr , int defStyleRes ) { noxConfig = new NoxConfig ( ) ; TypedArray attributes = context . getTheme ( ) . obtainStyledAttributes ( attrs , R . styleable . nox , defStyleAttr , defStyleRes ) ; initializeNoxItemSize ( attributes ) ; initializeNoxItemMargin ( attributes ) ; initializeNoxItemPlaceholder ( attributes ) ; initializeShapeConfig ( attributes ) ; initializeTransformationConfig ( attributes ) ; attributes . recycle ( ) ; }
Initializes a NoxConfig instance given the NoxView configuration provided programmatically or using XML styleable attributes .