We have implemented load data and save data to handle offline scenario. this will not work in some cases like. when you click on submit button at that time you can check if internet is there or not and based on internet connectivity you store data locally or online.
but what about this case: when you press submit button at that time internet is there and you start transferring the data and immediately internet goes down. here app gets freezeing how to deal with such case? how to handle such scenario?
Thank you,
Tejas