Unable to create call adapter for class example.Simple

后端 未结 14 1199
隐瞒了意图╮
隐瞒了意图╮ 2020-12-04 23:14

I am using retrofit 2.0.0-beta1 with SimpleXml. I want the retrieve a Simple (XML) resource from a REST service. Marshalling/Unmarshalling the Simple object with SimpleXML w

14条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-04 23:39

    in my case using this

    compile 'com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0'
    

    with this

    new Retrofit.Builder().addCallAdapterFactory(RxJava2CallAdapterFactory.create())...
    

    solved the problem when nothing else worked

提交回复
热议问题