服务器请求数据.一个viewpager里有两个fragment,在一个fragment里面,同时进行两个请求,一个同步了另一个就得是异步才能拿到数据?而另一个fragment,也只能异步才能拿到,求大神解答一下ORZ
业精于勤,荒于嬉;行成于思,毁于随。
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!
Is the synchronized one in the ui thread? If so, it won’t work.