Code example for DataSetObservable

Methods: notifyChanged

0
        return false; 
    } 
 
    public void notifyDataSetChanged() 
    { 
        dso.notifyChanged();
    } 
 
    public void notifyDataSetInvalidated() 
    { 
        dso.notifyInvalidated();
    } 
 
    protected AdapterSection getAdapterSection(int position) 
    { 
        // Given a position, get the adapter and header at  
        // that position 
        AdapterSection section = new AdapterSection();
        int p = 0;
        int list_idx = 0;
        for (Adapter a : adapter_list) {