Code example for ScrollView

Methods: getHeightsmoothScrollBy

0
            int divisor) {
        return new TextPager(textView, scroller, divisor);
    } 
 
    public void up() { 
        this.scroller.smoothScrollBy(0, -this.scroller.getHeight() / divisor);
    } 
 
    public void down() { 
        this.scroller.smoothScrollBy(0, this.scroller.getHeight() / divisor);
    } 
} 
Experience pair programming with AI  Get Codota for Java