Closed swm888 closed 6 years ago
retrofit = new Retrofit.Builder() .baseUrl("http://news-at.zhihu.com/") // .addCallAdapterFactory(RxJava2CallAdapterFactory.create()) .addCallAdapterFactory(RxJavaCallAdapterFactory.create()) .addConverterFactory(GsonConverterFactory.create(gson)) .build();
BUG:初始化Retrofit使用RxJava2CallAdapterFactory则出现Unable to create call adapter for rx.Observable异常。必须用RxJavaCallAdapterFactory的
BUG:初始化Retrofit使用RxJava2CallAdapterFactory则出现Unable to create call adapter for rx.Observable异常。必须用RxJavaCallAdapterFactory的