-
Notifications
You must be signed in to change notification settings - Fork 6.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Images aren't loaded after "Clear Cache" in app info #168
Comments
Show me please your Configuration and Display Options. |
DisplayImageOptions options = new DisplayImageOptions.Builder().cacheInMemory()
.resetViewBeforeLoading()
.cacheOnDisc()
.build();
} ImageLoaderConfiguration config = new ImageLoaderConfiguration.Builder(getApplicationContext())
.defaultDisplayImageOptions(defaultOptions)
.tasksProcessingOrder(QueueProcessingType.LIFO)
.build(); |
Describe sequence of your actions int more details. |
I am on the app Some images are used. I exit the app (using the back button). Go to Preferences > Apps > my app > Clear cache. I open my app again and the image loading fails. |
Got it. Hot fix for this case is to init ImageLoader in your first |
Thanks, will try it on Monday but seems reasonable. Will it be ok if the init is done on each activity. I have a base activity so was thinking on placing it there. PS: great work with the library... saved me hours :) |
It's ok. |
After clearing cache from setting still image is displaying in the app when internet if off. |
When doing a cache clear from the system menu and then opening the app (I think it was opened in the background) the app crashes. Closing the app from recent apps solves the problem but it's not ideal.
This is the error I get:
The text was updated successfully, but these errors were encountered: