Open yongsunCN opened 9 years ago
This is not an issue with the image loader. Catch the rotation event and reload the picture if needed.
How do I reload the picture? the second time the loader won't download the picture again because of the same url of the picture. So onLoadingComplete won't be called. Or is there any other approach I'm not aware of?
My aim is to download an image from web then set it as the icon for a menu item. Right now I'm using code below in onOptionCreateOptionsMenu()
However, the onLoadingComplete only runs on the first time. If I rotate the screen the icon won't be set again. How do I solve this problem?
Thanks.