Reputation: 2559
I'm feching large data lets say news feeds from server is it efficient to hold it memory in form of objects ??? or I should go with database approach or saved data in file system. I.just wnat to hold this data till app is running as everytime app restart i'm making server call again to fetch data.
Upvotes: 0
Views: 117
Reputation: 17580
If you want data to be load every time then keep your data in objects. There is not need to save your data in to File System or in SQLite. In java objects store in heap and In android there is a generally heap size is 16MB to 48MB.
Upvotes: 1