当前位置: 动力学知识库 > 问答 > 编程问答 >

android - getting only last updated resources when consuming an API?

问题描述:

I'm developing an Android App which is consuming a public API, but where the mobile app will be used the internet signal connection is very low; so I'm trying to consume my API as efficient as possible, and I came with the idea that if there is any way to get to know which resources from the API had changed since I did my last sync with the application.

I also thought about having an extra attribute on every single table from my database, where I will get to know when was the last modification to it, but I'm not really sure.

Any thoughts?

分享给朋友:
您可能感兴趣的文章:
随机阅读: