title: Android Scroller simple example
body: <p>Can anyone gives me simple example about Scroller class? As I understand, it encapsulates scrolling, so I need start calculating and then manually update must ScrollView to new positions. So I just try</p>
  
  <pre><code> Scroller scroller = new Scroller(getApplicationContext());
      scroller.startScroll(0, 0, 10, 10, 500);
      for (int i = 0; i &lt; 100; i++) {
          Log.d("scroller", scroller.getCurrX()+" "+ scroller.getCurrY());
      }
  </code></pre>
  
  <p>All I have in output is just zeros. Where is my mistake?</p>