I am coding an application and I will use retrofit lib to control network access. My question is how to handle network connection errors. My application can sometimes be used in areas without Internet access, but the user can interact with the application. So my question is how to handle some kind of queue to repeat requests that are in a failed state as soon as the network connection goes through the Internet? Or is there some kind of library to solve this problem?
Thanks in advance.
source share