Code example for ListAdapter

Methods: getCount

0
    /** 
     * How many items are in the data set represented by this Adapter. 
     */ 
    @Override 
    public int getCount() { 
        return wrapped.getCount();
    } 
 
    /** 
     * 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