title: notifyDataSetChanged on BaseAdapter without updated data in array
body: <p>I have a listview which contains times for each item. I display the time to the left, and the time left to the right.
  So, let's say I want to display 6.00 p.m. and it is now 4.53 pm, I would display 1 hour and 7 minutes left. This is computed into my BaseAdapter.</p>
  
  <p>Now I would like to refresh these time left every 30 seconds.
  So I tried to use a handler with a runnable and call notifyDataSetChanged() but I think, the data needs to be updated otherwise notifyDataSetChanged() does nothing, right?</p>
  
  <p>So here are some pieces of code:</p>
  
  <p>Runnable in my activity:</p>
  
  <pre><code>private Runnable updateScreen = new Runnable() {
      public void run() {
                      //update of the current time
          rightNow = Calendar.getInstance();
          timeNow = rightNow.get(Calendar.HOUR_OF_DAY) * 60 + rightNow.get(Calendar.MINUTE);
  
          if(adapter != null)
                  adapter.notifyDataSetChanged();
  
          handler.postDelayed(this, 30000);
      }
  };
  </code></pre>
  
  <p>Here is how I instanciate my Adapter in my Activity:</p>
  
  <pre><code>adapter = new TimesAdapter(context, times, timeNow);
  </code></pre>
  
  <p>times is a String[] and timeNow is an int.</p>
  
  <p>Do you have some ideas?
  Please tell me if you need more pieces of code.</p>