Refreshing ListView on every few sec
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/8968911/updating-the-list-ui-with-timer">Updating the List UI with Timer</a>  </p>
</blockquote>



<p>I am trying to do something like reminder. At the moment I have a database where every record has a remaining time. I show them as a custom list. I have two lists:</p>

<ul>
<li>one for active records from db (depends on time set);</li>
<li>one for expired records.</li>
</ul>

<p>I need to refresh the list on every few seconds like 3–5 seconds to check which record is still active. I read about <code>notifyDataSetChanged();</code> but I want to refresh it on every 3–5 seconds.
Any simple way to make this?</p>
