When should one use RxJava Observable and when simple Callback on Android?
问题 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}/photo") void getUserPhoto(@Path("id") int id, Callback<Photo> cb); and RxJava's Observable @GET("/user/{id}/photo") Observable<Photo> getUserPhoto(@Path("id") int id); Both look pretty similar at first glance, but when it gets to implementation it gets interesting... While with simple callback implementation would look similar to this: api.getUserPhoto