Code example for BaseAdapter

Methods: notifyDataSetChanged

2
        info.view = view;
        info.data = data;
        info.isSelectable = isSelectable;
 
        headers.add(info);
        wrapped.notifyDataSetChanged();
        return this;
    } 
 
    /** 
     * Add non-selectable footer view with no data 
     * 
     * @see #addFooter(View, Object, boolean) 
     * @param view 
     * @return this adapter 
     */ 
    public HeaderFooterListAdapter<E> addFooter(View view) {
        return addFooter(view, null, false);
    } 
 
    /**