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);
    } 
} 
Contextual code suggestions in your IDE  Get Codota for Java