I am using RoboSpice to making web-service calls as ,below.
spiceManager.execute(request, lastRequestCacheKey,
DurationInMillis.ONE_DAY, this);
Bu each time , it makes network request using loadDataFromNetwork() .
Seems Cache data is empty.Got this message "Cache content not available or expired or disabled"
What i am doing wrong?
Solved. For somebody looking for the same , please have a read.
But , I was unable get data from cache.So just override
getResultType().Here is the complete code.
Initiate Web-Service Request and get Response callbacks , as below.