Code example for Scroller

Methods: abortAnimation, isFinished

0
        } 
    } 
 
    @Override 
    public void scrollTo(int x, int y) {
        if (!mScroller.isFinished()) {
            mScroller.abortAnimation();
        } 
        reScrollTo(x, y, true);
    } 
 
    /** 
     * core scroll function which will replace and move TimeTextViews so that they don't get 
     * scrolled out of the layout 
     * 
     * @param x 
     * @param y 
     * @param notify if false, the listeners won't be called 
     */ 
    protected void reScrollTo(int x, int y, boolean notify) {
    	if (notify) Log.d(TAG,String.format("scroll to " + x));