Get response from Retrofit with suspend method for generic objects with Kotlin

后端 未结 0 1175
一整个雨季
一整个雨季 2020-12-04 16:21

I have a generic method getData that should get from the server some POJOs of different objects. Before Retrofit 2.6 without coroutines I could create a method

相关标签:
回答
  • 消灭零回复
提交回复
热议问题