// Path: GotyeSDK/src/com/gotye/sdk/handmark/pulltorefresh/library/internal/EmptyViewMethodAccessor.java
// public interface EmptyViewMethodAccessor {
// 
// 	/**
// 	 * Calls upto AdapterView.setEmptyView()
// 	 * 
// 	 * @param emptyView - to set as Empty View
// 	 */
// 	public void setEmptyViewInternal(View emptyView);
// 
// 	/**
// 	 * Should call PullToRefreshBase.setEmptyView() which will then
// 	 * automatically call through to setEmptyViewInternal()
// 	 * 
// 	 * @param emptyView - to set as Empty View
// 	 */
// 	public void setEmptyView(View emptyView);
// 
// }


import com.gotye.sdk.handmark.pulltorefresh.library.internal.EmptyViewMethodAccessor;
import com.gotye.sdk.handmark.pulltorefresh.library.internal.LoadingLayout;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.os.Build.VERSION;
import android.os.Build.VERSION_CODES;
import android.util.AttributeSet;
import android.view.Gravity;
import android.view.MotionEvent;
import android.view.View;
import android.widget.FrameLayout;
import android.widget.ListAdapter;
import android.widget.ListView;
import com.gotye.sdk.R;
			 * If the value for Scrolling While Refreshing hasn't been
			 * explicitly set via XML, enable Scrolling While Refreshing.
			 */
			if (!a.hasValue(R.styleable.PullToRefresh_ptrScrollingWhileRefreshingEnabled)) {
				setScrollingWhileRefreshingEnabled(true);
			}
		}
	}

	@TargetApi(9)
	final class InternalListViewSDK9 extends InternalListView {

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

		@Override
		protected boolean overScrollBy(int deltaX, int deltaY, int scrollX, int scrollY, int scrollRangeX,
				int scrollRangeY, int maxOverScrollX, int maxOverScrollY, boolean isTouchEvent) {

			final boolean returnValue = super.overScrollBy(deltaX, deltaY, scrollX, scrollY, scrollRangeX,
					scrollRangeY, maxOverScrollX, maxOverScrollY, isTouchEvent);

			// Does all of the hard work...
//			OverscrollHelper.overScrollBy(PullToRefreshListView.this, deltaX, scrollX, deltaY, scrollY, isTouchEvent);

			return returnValue;
		}
	}

// Path: GotyeSDK/src/com/gotye/sdk/handmark/pulltorefresh/library/internal/EmptyViewMethodAccessor.java
// public interface EmptyViewMethodAccessor {
// 
// 	/**
// 	 * Calls upto AdapterView.setEmptyView()
// 	 * 
// 	 * @param emptyView - to set as Empty View
// 	 */
// 	public void setEmptyViewInternal(View emptyView);
// 
// 	/**
// 	 * Should call PullToRefreshBase.setEmptyView() which will then
// 	 * automatically call through to setEmptyViewInternal()
// 	 * 
// 	 * @param emptyView - to set as Empty View
// 	 */
// 	public void setEmptyView(View emptyView);
// 
// }


// Path: GotyeSDK/src/com/gotye/sdk/handmark/pulltorefresh/library/PullToRefreshListView.java
import com.gotye.sdk.handmark.pulltorefresh.library.internal.EmptyViewMethodAccessor;
import com.gotye.sdk.handmark.pulltorefresh.library.internal.LoadingLayout;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.os.Build.VERSION;
import android.os.Build.VERSION_CODES;
import android.util.AttributeSet;
import android.view.Gravity;
import android.view.MotionEvent;
import android.view.View;
import android.widget.FrameLayout;
import android.widget.ListAdapter;
import android.widget.ListView;
import com.gotye.sdk.R;

			 * If the value for Scrolling While Refreshing hasn't been
			 * explicitly set via XML, enable Scrolling While Refreshing.
			 */
			if (!a.hasValue(R.styleable.PullToRefresh_ptrScrollingWhileRefreshingEnabled)) {
				setScrollingWhileRefreshingEnabled(true);
			}
		}
	}

	@TargetApi(9)
	final class InternalListViewSDK9 extends InternalListView {

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

		@Override
		protected boolean overScrollBy(int deltaX, int deltaY, int scrollX, int scrollY, int scrollRangeX,
				int scrollRangeY, int maxOverScrollX, int maxOverScrollY, boolean isTouchEvent) {

			final boolean returnValue = super.overScrollBy(deltaX, deltaY, scrollX, scrollY, scrollRangeX,
					scrollRangeY, maxOverScrollX, maxOverScrollY, isTouchEvent);

			// Does all of the hard work...
//			OverscrollHelper.overScrollBy(PullToRefreshListView.this, deltaX, scrollX, deltaY, scrollY, isTouchEvent);

			return returnValue;
		}
	}

	protected class InternalListView extends ListView implements EmptyViewMethodAccessor {