I am making an android app about myths and legends which contains many images, among all the stories are 500 images in total. So I would like to know how I can do to optimize the app, minimize memory usage and generally go smoothly.
I will try to describe the app:
- At startup you can select between myths or legends (25 stories per category).
- Each myth or legend has 10 images (3mb in total).
- Once you have read the story you can read it again or choose another one.
I have checked the project stats and the peak memory usage is 104 mb
That said, I have encountered these problems:
- When starting the app, after the percentage loader it takes quite a while to display the first screen (layout).
- On low end devices, the app does not start or gets stuck to the point of closing.
I've been reading about unload from memory but I don't really understand how it could help me and how I can implement it.
I hope you can help me. Thank you very much in advance