Code example for SparseIntArray

Methods: clear, size

0
 
    /** 
     * Dispatches message to parser to prepare attributes. 
     */ 
    private void prepareAttributes() { 
        if (aAttributes.size() > 0) {
            aAttributes.clear();
        } 
        mParser.dispatchPrepareAttributes(aAttributes);
    } 
 
    /** 
     * Performs parsing process of style. Each iteration trough parsed typed array is dispatched to 
     * parser to obtain specific style element. After successful parsing process is parser again dispatched 
     * to apply collected style elements to widgets. 
     * 
     * @param style 
     *          Style to process. 
     * @param widgets 
     *          Widgets to style. 
     * @return Widgets with applied style.