Code example for ListAdapter

Methods: getViewTypeCount

0
                : mBaseAdapter.isEnabled(sectionedPositionToPosition(position));
    } 
 
    @Override 
    public int getViewTypeCount() { 
        return mBaseAdapter.getViewTypeCount() + 1; // the section headings
    } 
 
    @Override 
    public boolean areAllItemsEnabled() { 
        return false; 
    } 
 
    @Override 
    public boolean hasStableIds() { 
        return mBaseAdapter.hasStableIds();
    } 
 
    @Override 
    public boolean isEmpty() { 
        return mBaseAdapter.isEmpty();