Closed chenww713 closed 3 months ago
rxhttp版本号多少
implementation 'com.squareup.okhttp3:okhttp:4.12.0' implementation "com.github.liujingxing.rxhttp:rxhttp:3.2.6" annotationProcessor "com.github.liujingxing.rxhttp:rxhttp-compiler:3.2.6" implementation 'io.reactivex.rxjava3:rxjava:3.1.6' implementation 'io.reactivex.rxjava3:rxandroid:3.0.2' implementation 'com.github.liujingxing.rxlife:rxlife-rxjava3:2.2.2'
你是升级rxhttp版本,还是项目首次接入rxhttp?
首次接入rxhttp
知道了,你的解析起泛型传入了<HttpResponse<T>>
,这样是不生成toObserableXxxList系列方法的,因为不可能返回List<HttpResponse<T>>
给你,改TypeParser<T>
就会生成
好的问题解决了,谢谢大佬
toObservableHttpResponse()方法生成成功了,但是toObservableHttpResponseList()和toObservableHttpResponsePageList()没有生成