Search code examples
androiduniversal-image-loader

how to add headers to uri in Android-Universal-Image-Loader library?


https://github.com/nostra13/Android-Universal-Image-Loader#useful-info how to add headers to while using this Android-Universal-Image-Loader library? Do this library have any kind function to attach the headers with url?


Solution

  • Look here - https://github.com/nostra13/Android-Universal-Image-Loader/issues/340 You can pass custom headers for every task through extra. Or you can simply set them in ImageDownloader.