I am trying to add running tasks to the ListView.
When i am adding first time using function called loadTasks(). it’s added perfectly.
But when i am trying to reload it, as i am refreshing the task list after every 10 seconds, its adding two or more empty items in my list.
try this code for reload the list
when you want update the list call the handler like this