Code example for Scroller

Methods: abortAnimationisFinished

    public void scrollTo(int x, int y) {
        if (!mScroller.isFinished()) {
        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) {
Experience pair programming with AI  Get Codota for Java