Here's my situation : - 1. I have a url that contains an image(e.g http://someSite.newImage.png). 2. The url is constant even if I change the image online because I upload new images with same image name(e.g newImage.png), making the url the same but with a different image on each upload. 3. I use the 'InputStream' method to open the url to load latest image in the onCreate method of my activity.
What I want to achieve : - I want my app to be able to detect new image uploads from the url and update my 'ImageView' with latest image while the app is running(currently it only updates my 'ImageView' when the app is first started) and also be able to show maybe a 'ProgressBar' when the image load starts and hide the 'ProgressBar' when the image load ends.