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

This page summarizes the projects mentioned and recommended in the original post on /r/codehunter

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Retrofit

    A type-safe HTTP client for Android and the JVM

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

  • u2020

    A sample Android app which showcases advanced usage of Dagger among other open source libraries.

    Using retrofit is much simpler than example above as @Niels showed in his answer or in Jake Wharton's example project U2020. But essentially the question stays the same - when should one use one way or the other?

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts