Code example for Scroller

Methods: computeScrollOffsetgetCurrXgetCurrYisFinished

0
		mListView = (CanCloseListView)mTopView.findViewById(R.id.date_list);
	} 
 
	@Override 
	public void computeScroll() { 
		if (!mScroller.isFinished()) {
			if (mScroller.computeScrollOffset()) {
				mTopView.scrollTo(mScroller.getCurrX(), mScroller.getCurrY());
				postInvalidate();
			} 
		} 
	} 
 
	public void smoothScrollBy(int dx, int dy) {
		mScroller.startScroll(mScroller.getFinalX(), mScroller.getFinalY(), dx,
				dy);
		invalidate();
	} 
 
	public void smoothScrollTo(int fx, int fy) {
Stop searching for code, let great code find you!  Add Codota to your java IDE