title: Infinite Auto Scroll ListView with Scroll Speed Controlled
body: <p>I have been working on a <code>ListView</code>idea where it keeps scrolling automatically with no user interaction and that is absolutely doable using the android APIs for instance <strong><em>smoothScrollToPositionFromTop</em></strong>.</p>
  
  <p>I have implemented <code>ListView BaseAdapter</code> where it load items forever (almost) to get a non stopping self repeated <code>ListView</code>.</p>
  
  <p>What I want to achieve here is to keep my<code>ListView</code>scrolling forever with certain speed (slow) to make items clear and readable while scrolling down, I not sure yet if <code>ListView</code> is my best choice here.</p>
  
  <p>below is a snippet of what I am trying to do. the result is good somehow but it's not smooth enough, I can feel the ListView flickers.</p>
  
  <p>I need to improve <strong>smoothness, efficiency and control the speed</strong></p>
  
  <pre><code>new Thread(new Runnable() {
  
      @Override
      public void run() {
          int listViewSize = mListView.getAdapter().getCount();
  
          for (int index = 0; index &lt; listViewSize ; index++) {
              mListView.smoothScrollToPositionFromTop(mListViewA.getLastVisiblePosition() + 100, 0, 6000);
              try {
                  // it helps scrolling to stay smooth as possible (by experiment)
                  Thread.sleep(60);
              } catch (InterruptedException e) {
  
              }
          }
      }
  }).start();
  </code></pre>