I know the answer is not enough to explain in a single or two paragraphs, and there might not be tutorials available also as it needs internet services. But I just need some advice and suggestions so that I can move further in designing my app in a proper way.
My application is a service based application, it works perfectly when internet is connected. However as per new requirements I need to support offline behaviour also. Hence it would be like to keep a local database, and fetch everything from server first time, Later when internet is not connected, if user uploads some data then it will be stored in local database and automatically synchronised when internet available.
I don't have a clear idea how to do it. I guess my application may cause memory warnings because of inappropriate data handling and it may also increase the internet traffic if do not handle services in a proper manner.
I know there may be variety of answers as it is a conceptual question but I am not looking for a tutorial but just some proper guidance to do my research and get to have a clear idea how to do it.
Thanks everyone in advance. Happy coding.