Code example for DataSetObservable

 * @author Cyril Mottier 
public abstract class PagedAdapter implements Adapter {
    private final DataSetObservable mDataSetObservable = new DataSetObservable();
    public abstract int getCount(); 
    public abstract Object getItem(int position);
    public abstract long getItemId(int position);
    public boolean hasStableIds() { 
        throw new UnsupportedOperationException("hasStableIds(int) is not supported in the context of a SwipeAdapter");
    public abstract View getView(int position, View convertView, ViewGroup parent);
    public final int getItemViewType(int position) {