Closed mohamed-khaled-hsn closed 4 years ago
Thanks! You don't need to shut down your ImageLoader
if you only create one instance and inject it throughout your app. When your app is killed it will automatically free your instance. I'll add a note to the docs about this.
It's important to call shutdown when you create more than one instance or if you create temporary instances.
Great! I'll close this issue then.
Hi, First of all, amazing library it's really nicely done.
One I have a question
from docs:
I'm using DI to inject
ImageLoader
, and I initialize it on app start. where would be a good place to callimageLoader.shutdown()
? since there is no callback for when the app is destroyed.