Android when to use local sqlite and DiskLrucache as data cache from server?

I’m puzzled about app cache issue

1.Under what circumstances the use of local db and DiskLrucache to save my data from app server?

2.I want to use the retrofit and activeandroid to play the code simple,but it seems can’t work with each other for model stuff problem like error:retrofit Forgot to register a type adapter?
.Is there any ORM library can work with retrofit(retrofit is awesome)?


Source: android

Leave a Reply