Android app is crashing on SocketTimeoutException in retrofit Interceptor

后端 未结 0 1898
面向向阳花
面向向阳花 2021-02-01 12:48

Following is my offline interceptor code. It crashes in case of low network and throws SocketTimeoutException. How to avoid app from crashing in this case?

intern         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题