-
Notifications
You must be signed in to change notification settings - Fork 4k
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
A doubt about shutdown function #321
Comments
It's only use is if you are creating scoped Picasso instances and then
|
It will also shutdown all the threads used by Picasso. You can keep your reference as long as you want or if you want to clear out images from memory cache to free memory then shutdown is a good use case. For example, user A signs in and uses Picasso to download 50 images, signs out and then user B signs in. Perhaps shutting down makes sense then. |
But default singleton wouldn't be shutdown. It makes me confused.
|
Correct. Don't ever shutdown the singleton version.
|
How could I reuse Picasso? The lib only supplied shut down function.
If shutdown means destroy the module, why not set instance to null?
How could I use this function
The text was updated successfully, but these errors were encountered: