// Path: pullrefresh/src/main/java/com/nicksong/refreshAndLoad/widget/support/impl/OnScrollListener.java
// public interface OnScrollListener {
//     void onScrollChanged(View scrollView, int x, int y, int oldx, int oldy);
// }


import android.content.Context;
import android.util.AttributeSet;
import android.widget.ScrollView;
import com.nicksong.refreshAndLoad.widget.support.impl.OnScrollListener;
package com.nicksong.refreshAndLoad.widget.support.view;



public class ObservableScrollView extends ScrollView {

    private OnScrollListener onScrollListener = null;

    public ObservableScrollView(Context context) {
        super(context);
    }

    public ObservableScrollView(Context context, AttributeSet attrs,
                                int defStyle) {
        super(context, attrs, defStyle);
    }

    public ObservableScrollView(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

// Path: pullrefresh/src/main/java/com/nicksong/refreshAndLoad/widget/support/impl/OnScrollListener.java
// public interface OnScrollListener {
//     void onScrollChanged(View scrollView, int x, int y, int oldx, int oldy);
// }


// Path: pullrefresh/src/main/java/com/nicksong/refreshAndLoad/widget/support/view/ObservableScrollView.java
import android.content.Context;
import android.util.AttributeSet;
import android.widget.ScrollView;
import com.nicksong.refreshAndLoad.widget.support.impl.OnScrollListener;

package com.nicksong.refreshAndLoad.widget.support.view;



public class ObservableScrollView extends ScrollView {

    private OnScrollListener onScrollListener = null;

    public ObservableScrollView(Context context) {
        super(context);
    }

    public ObservableScrollView(Context context, AttributeSet attrs,
                                int defStyle) {
        super(context, attrs, defStyle);
    }

    public ObservableScrollView(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public void setOnScrollListener(OnScrollListener onScrollListener) {