How to refresh Android listview?
Call notifyDataSetChanged() on your Adapter object once you’ve modified the data in that adapter. Some additional specifics on how/when to call notifyDataSetChanged() can be viewed in this Google I/O video.
Call notifyDataSetChanged() on your Adapter object once you’ve modified the data in that adapter. Some additional specifics on how/when to call notifyDataSetChanged() can be viewed in this Google I/O video.
Try adding a cachebreaker at the end of the url: newImage.src = “http://localhost/image.jpg?” + new Date().getTime(); This will append the current timestamp automatically when you are creating the image, and it will make the browser look again for the image instead of retrieving the one in the cache.
How can I refresh a page with jQuery?