{"action":"created","issue":{"url":"https://api.github.com/repos/nostra13/Android-Universal-Image-Loader/issues/92","labels_url":"https://api.github.com/repos/nostra13/Android-Universal-Image-Loader/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/nostra13/Android-Universal-Image-Loader/issues/92/comments","events_url":"https://api.github.com/repos/nostra13/Android-Universal-Image-Loader/issues/92/events","html_url":"https://github.com/nostra13/Android-Universal-Image-Loader/issues/92","id":7950873,"number":92,"title":"Multiple ImageLoader instances","user":{"login":"artem-zinnatullin","id":967132,"avatar_url":"https://avatars.githubusercontent.com/u/967132?v=3","gravatar_id":"","url":"https://api.github.com/users/artem-zinnatullin","html_url":"https://github.com/artem-zinnatullin","followers_url":"https://api.github.com/users/artem-zinnatullin/followers","following_url":"https://api.github.com/users/artem-zinnatullin/following{/other_user}","gists_url":"https://api.github.com/users/artem-zinnatullin/gists{/gist_id}","starred_url":"https://api.github.com/users/artem-zinnatullin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artem-zinnatullin/subscriptions","organizations_url":"https://api.github.com/users/artem-zinnatullin/orgs","repos_url":"https://api.github.com/users/artem-zinnatullin/repos","events_url":"https://api.github.com/users/artem-zinnatullin/events{/privacy}","received_events_url":"https://api.github.com/users/artem-zinnatullin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nostra13/Android-Universal-Image-Loader/labels/Feature","name":"Feature","color":"02e10c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2012-10-29T20:54:44Z","updated_at":"2015-01-30T04:05:18Z","closed_at":"2012-11-03T10:06:52Z","body":"In my app I have got 3 types of images to load, all of types needed __different__ ImageLoaderConfiguration. \r\n\r\n##### Images types example:  \r\n* Users avatars _(cache on disc, memory cache size ~ 5mb,  thread pool size ~ 3, thread priority min + 3, medium compression)_\r\n* News feed pictures _(cache on disc, memory cache size ~ 1mb, thread pool size ~ 5, etc..)_\r\n* Temporary images, like friends photos, etc.. _(no cache, thread pool size ~ 2,..)_\r\n\r\nSometimes it needed to use different ImageDownloader or FileNameGenerator or something else,  but it is not possible at the moment because ImageLoader is _singleton_ class.\r\n\r\n#### So, what about many ImageLoader objects? \r\n\r\nMay be it will be good to use ImageLoaderFactory and class-containter for created ImageLoader objects to use them, or something else.\r\n\r\nWhat do you think about it?"},"comment":{"url":"https://api.github.com/repos/nostra13/Android-Universal-Image-Loader/issues/comments/72151186","html_url":"https://github.com/nostra13/Android-Universal-Image-Loader/issues/92#issuecomment-72151186","issue_url":"https://api.github.com/repos/nostra13/Android-Universal-Image-Loader/issues/92","id":72151186,"user":{"login":"hubcin","id":6313374,"avatar_url":"https://avatars.githubusercontent.com/u/6313374?v=3","gravatar_id":"","url":"https://api.github.com/users/hubcin","html_url":"https://github.com/hubcin","followers_url":"https://api.github.com/users/hubcin/followers","following_url":"https://api.github.com/users/hubcin/following{/other_user}","gists_url":"https://api.github.com/users/hubcin/gists{/gist_id}","starred_url":"https://api.github.com/users/hubcin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hubcin/subscriptions","organizations_url":"https://api.github.com/users/hubcin/orgs","repos_url":"https://api.github.com/users/hubcin/repos","events_url":"https://api.github.com/users/hubcin/events{/privacy}","received_events_url":"https://api.github.com/users/hubcin/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T04:05:18Z","updated_at":"2015-01-30T04:05:18Z","body":"Thank you for the great library ! I'm using it now and it's working perfect. I've been reading you code for days to find out how to cache images in different folders, for example, I wanna cache user profile image in /profile folder and others in /other folder, and I wanna be able to clean the /profile folder separately . How should I implement this ? Thanks."}}