Reputation: 27
I am trying to develop an android app, where I will be required to display a lot of images such as infrastructure, events and so on.
I don't think that storing them in drawable folder is the best option. So what would be the most efficient way to do it?
Upvotes: 1
Views: 67
Reputation: 18538
You can store them in assets directory.
Additionally you can convert these images to webp by right-clicking them inside android studio project explorer and clicking convert to WebP.
For Vector assets, you can let them be inside drawable folder.
Upvotes: 1
Reputation: 819
If you use vector drawables it shouldn't be a problem if you store them in the drawables folder - they're small and scalable.
Upvotes: 1