For my project, I'm using JSON for fetch data from server. And I'm going to get single API for the whole project. Using that I want to store the whole data locally using Shared Preference and need to fetch data accordingly. The task is User need to work on this project in offline also (Only first time user need to use net connection to get data from server).
Please clarify the following doubts.
1) Shall I use Shared Preference or some thing else for this dynamic Project ? 2) If I use Shared Preference, I can store whole data as Single Object, from that how can I separate data accordingly ? 3) Shall I get Single API or multiple API to handle this Issue ? 4) If I use multiple API, how to proceed further? 5) Main task is get data from server using JSON and store locally and use it in offline. How to do that in efficient manner?
Thanks in advance...
0 comments:
Post a Comment