Are your API can send me the list in Gzip format?
From my past experience, I can say that you will have to throw your app if you will not think on it. Please do not award now and give me opportunity to explain it properly. Please check below for your convenience:
You will display the list and I am assuming that it would be the list of product. If the list is too long or if you have a plan to increase it in near future then you will have to send the list in Gzip format. Otherwise, it will take a huge time to load the images. I think you can understand what I want to mean. My plan is
- We will call the API, it will send us the gzip file.
- We will decompress it in android end and will store it in local.
- In device screen there will be a lazy loading but it will load the records from the Device database to reduce server interaction.
- As soon as user will refresh or call this page, we will call the API again to get the fresh data from server.
Not only that, we can use it for search as well. I mean when user will go for search it will get data from the local Device database. There is no risk that the server data may differ with local because we will refresh this device database in each page loading.
Using the above way, we can increase the performance of the app and can reduce the complexity. I can understand may you will have to change in API end point but I think this will be a minor chance.
Please message me with your API and website details.