When should one use RxJava Observable and when simple Callback on Android?

后端 未结 9 2185
庸人自扰
庸人自扰 2020-11-29 14:05

I\'m working on networking for my app. So I decided to try out Square\'s Retrofit. I see that they support simple Callback

@GET("/user/{id}/         


        
9条回答
  •  一向
    一向 (楼主)
    2020-11-29 14:54

    I personally prefer to use Rx to get api responses in cases that I have to do filter, map or something like that on the data Or in cases that I have to do another api calls based on previous calls responses

提交回复
热议问题