title: keep Scroll position with every refresh in list view
body: <p>I set a timer in my app, I could get some information from a web service and resulted in a list view to display. Now my problem is that every time the timer runs, scroll back to the beginning ...</p>
  
  <p>how can i keep Scroll position with every refresh in list view ?</p>
  
  <p>part of my code:</p>
  
  <pre><code>runOnUiThread(new Runnable() {
      public void run() {
          /**
           * Updating parsed JSON data into ListView
          * */
          ListAdapter adapter = new SimpleAdapter(DashboardActivity.this, 
                                                  all_chat, 
                                                  R.layout.list_item, 
                                                  new String[] { TAG_FULLNAME,
                                                                 TAG_DATE, 
                                                                 TAG_MESSAGE }, 
                                                  new int[] { R.id.fullname,
                                                              R.id.date, 
                                                              R.id.message }
                                                 );
          // updating listview
          setListAdapter(adapter);
      }
  });
  </code></pre>
  
  <p>TNx.</p>