Code example for ListAdapter

Methods: getViewTypeCount

0
    /** 
     * Returns the number of types of Views that will be created by getView(). 
     */ 
    @Override 
    public int getViewTypeCount() { 
        return wrapped.getViewTypeCount();
    } 
 
    /** 
     * Get the type of View that will be created by getView() for the specified 
     * item. 
     *  
     * @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