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.