title: Updating the List UI with Timer
body: <p>I am trying to update the <code>ListView</code> with <code>timer</code>. I have implemented the android UI timer but my problem is how to use it for <code>ListView</code> where I need to update each row of the list after a certain interval. How does the handler will update the each row of the list (i.e. suppose a <code>TextView</code> is inside the each row where I'll display the updated values)?</p>
  
  <pre><code>public class ListAdapter extends BaseAdapter {
  
      private List&lt;String&gt; messages;
      private Context mContext;
  
      public ListAdapter(Context context , List&lt;String&gt; messages){
          this.messages   =  messages;
          mContext   =  context;
      }
  
      @Override
      public int getCount(){
          return messages.size();
      }
  
      @Override
      public Object getItem(int location){
          return messages.get(location);
      }
  
      @Override
      public long getItemId(int index){
          return index;
      }
  
      @Override
      public View getView(int index , View convertView, ViewGroup viewGroup){
  
              TextView time = new TextView(mContext);
  
                  //udpate the time.setText() using timer
          convertView = (View)time
  
          return convertView;
      }   
  </code></pre>