I'm developing an app, which uses REST api to get data.
Basically it is something like online cinema app.
So i have a list of various films,cartoons, tvseries.(json with their 
description, actors and so on)

Now persistence is made with the help of caching json files of each request 
in disc cache for 10 mins. But each  time I need to deserialise, parse to 
objects, then send from service to fragment using parcelable.
So I'm thinking about sqlite. I have some experience using it. But I need 
to store each response only for 10 mins. I dont think that cleaning 
database each 10 mins is a good idea. 
And the second part is an order of films. There are 4 types of sorting, 
which are sorted on the server side, and I cant sort it on mobile, cause I 
dont have these fields if json.

I'm thinking about storing films in sqlite, And storing some files with an 
order of films. Maybe just in some table.

But I think there is some easier solution.
p.s. sry for my bad english.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to