Search code examples
androidpicassoandroid-glide

android - best way to load multiple images locally


what is the best approach to load multiple images from local android device? do i still need to cache the bitmap or should i just load the bitmap directly to imageview? is there a library that you can recommend? i have read about other libraries such as glide, picasso, etc. but i think they are intended for downloading images from the server.


Solution

  • Most image loading libraries support multiple sources, not just http. Both Glide and Picasso allow you to load images from file paths, content Uris, resources, assets, and more.

    See Glide's RequestManager class for all of the available types Glide currently supports.

    Don't re-invent the wheel, use a library.