Code example for ListAdapter

Methods: getItemViewType

0
     *  
     * @param position Position of the item whose data we want 
     */ 
    @Override 
    public int getItemViewType(int position) {
        return wrapped.getItemViewType(position);
    } 
 
    /** 
     * Are all items in this ListAdapter enabled? If yes it means all items are 
     * selectable and clickable. 
     */ 
    @Override 
    public boolean areAllItemsEnabled() { 
        return wrapped.areAllItemsEnabled();
    } 
 
    /** 
     * Returns true if the item at the specified position is something 
     * selectable. 
     *