In my android app, I download an image from the cloud. The download is performed in a thread and in that same thread I also set an image view with the newly downloaded image. After setting the image, I then call postinvalidate().
However the image does not immediately show up. Is there a way to make the redraw happen immediately? I need a way to trigger a drawing cycle.