package com.stardust.widget;

import android.support.v7.widget.RecyclerView;

/**
 * Created by Stardust on 2017/3/14.
 */

public class SimpleAdapterDataObserver extends RecyclerView.AdapterDataObserver {

    public void onChanged() {
        onSomethingChanged();
    }

    public void onItemRangeChanged(int positionStart, int itemCount) {
        onSomethingChanged();
    }

    public void onItemRangeInserted(int positionStart, int itemCount) {
        onSomethingChanged();
    }

    public void onItemRangeRemoved(int positionStart, int itemCount) {
        onSomethingChanged();

    }

    public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) {
        onSomethingChanged();
    }

    public void onSomethingChanged() {

    }
}
