How to implement caching in android app for REST API results?
问题 My android app gets its data using REST API. I want to have client side caching implemented. Do we have any inbuilt classes for this? if not, is these any code that i can reuse? I remember coming across such code sometime back. However I cant find it. If nothing else works, i will write my own. following is basic structure public class MyCacheManager { static Map<String, Object> mycache; public static Object getData(String cacheid) { return mycache.get(cacheid); } public static void putData