I need an advice. I am creating an android application that have multiple List Activities. Selection of item from on list, results in another list and on selecting item from second list, am image is display. All the data (for list as well as images) comes from web server. I have created services in PHP to feed data to android application. I want to optimize application as much as I can. My question is that what is better, get all the data at once from server or fetch only the relevant data when user select an item.
The plus point of first approach (that I can think of) is that user will have to wait only for the first time. After the data is loaded, application will run faster as there wont be any further calls to server. Negative point (that I can think of) is that application will consume more memory.
Which approach should I follow in order to make app more efficient and user friendly?