Home > Q&A > body text
服务器请求数据.一个viewpager里有两个fragment,在一个fragment里面,同时进行两个请求,一个同步了另一个就得是异步才能拿到数据?而另一个fragment,也只能异步才能拿到,求大神解答一下ORZ
PHP中文网2017-04-17 17:56:23
Is the synchronized one in the ui thread? If so, it won’t work.
Are you using the latest OKHTTP3.4.2? The author said that in the latest version, this problem has been solved!