AsyncTaskLoader for http requests to handle orientation changes, using generics, inheritance

后端 未结 2 469
野性不改
野性不改 2021-01-07 06:10

Currently I am using an asynchronous http library to execute http requests against our server. However this carries the problem where if an http call is in progress during a

2条回答
  •  轮回少年
    2021-01-07 06:24

    Are you not interested in trying to implement libraries dedicated to this kind of problems? You Have Volley by Google and Robospice for example.

    http://arnab.ch/blog/2013/08/asynchronous-http-requests-in-android-using-volley/

    https://github.com/octo-online/robospice

提交回复
热议问题