2014-08-11, 17:40
I am creating a Window object, and displaying it using doModal. Inside the window there is a ControlImage which fill the whole window. I listen for the actions and whenever I receive ACTION_MOVE_(UP/LEFT/DOWN/RIGHT) action, I change the image using setImage. The images are fetched from a remote server, and I have enabled caching. The problem is that even after the images being cached, you can frequently see flickering, or the black screen behind the image while changing the image. I am sure the images are cached, and I believe having it any other way will not improve the loading anymore.
Is this a load issue? or is it only a problem of the UI not detecting the change and refreshing? Can this be improved?
Most importantly, can I at least force the ControlImage to retain its image until the next image is completely loaded from the remote source and then show it, instead of showing the black background while fetching it?
Is this a load issue? or is it only a problem of the UI not detecting the change and refreshing? Can this be improved?
Most importantly, can I at least force the ControlImage to retain its image until the next image is completely loaded from the remote source and then show it, instead of showing the black background while fetching it?