Code example for DataSetObserver

Methods: onChanged

0
        info.data = data;
        info.isSelectable = isSelectable;
        mFooterViewInfos.add(info);
 
        if (mAdapter != null && mDataObserver != null) {
            mDataObserver.onChanged();
        } 
    } 
 
    public int getFooterViewCount() { 
        return mFooterViewInfos.size();
    } 
 
    public boolean removeFooterView(View v) {
        if (mFooterViewInfos.size() > 0) {
            boolean result = false;
            if (mAdapter != null && ((HeaderViewListAdapter) mAdapter).removeFooter(v)) {
                removeFixedViewInfo(v, mFooterViewInfos);
                if (mDataObserver != null) {
                    mDataObserver.onChanged();
Connect your IDE to all the code out there  Get Codota for Java