Code example for List

Methods: clear

0
    } 
 
    @Override 
    public void removeAllTabs() { 
        mActionBar.removeAllTabs();
        mTabs.clear();
        notifyChanged(); 
    } 
 
    @Override 
    public TabInfo removeTab(int position) {
        TabInfo tabInfo = mTabs.remove(position);
        mActionBar.removeTabAt(position);
        notifyChanged(); 
        return tabInfo;
    } 
 
    @Override 
    public TabInfo removeTab(TabInfo tabInfo) {
        for (int i = 0; i < mTabs.size(); i++) {
            if (mTabs.get(i) == tabInfo) {