Code example for ArrayList

Methods: isEmpty

0
        anchor.getLocationOnScreen(loc);
        mRect.set(loc[0], loc[1], loc[0] + anchor.getWidth(), loc[1] + anchor.getHeight());
 
        if (mIsDirty) {
            clearQuickActions(); 
            populateQuickActions(mQuickActions);
        } 
 
        onMeasureAndLayout(mRect, contentView);
 
        if ((mPrivateFlags & MEASURE_AND_LAYOUT_DONE) != MEASURE_AND_LAYOUT_DONE) {
            throw new IllegalStateException("onMeasureAndLayout() did not set the widget specification by calling"
                    + " setWidgetSpecs()"); 
        } 
 
        showArrow(); 
        prepareAnimationStyle(); 
        showAtLocation(anchor, Gravity.NO_GRAVITY, 0, mPopupY);
    } 
 
    protected void clearQuickActions() { 
        if (!mQuickActions.isEmpty()) {
            onClearQuickActions(); 
        } 
    } 
 
    protected void onClearQuickActions() {