Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

RxJava and Android: How to Develop on Android Without Losing Your Mind

DZone's Guide to

RxJava and Android: How to Develop on Android Without Losing Your Mind

· Java Zone
Free Resource

The single app analytics solutions to take your web and mobile apps to the next level.  Try today!  Brought to you in partnership with CA Technologies

A recent post from Mark Hudnall's blog discusses the purpose and implementation of RxJava, which is a Java implementation of FRP (Functional Reactive Programming). RxJava can do a lot to help manage user interaction, particularly while updating the UI during user interactions or working in the background. Hudnall's post covers the topic from a few different angles:

  • The AsyncTask techniques of the past
  • The RxJava alternative
  • Composition of logically separated tasks
  • Responding to user interaction

While there are a few pitfalls that Hudnall points out, RxJava looks, for the most part, like a promising alternative to Android's AsyncTask class. Check out Hudnall's full post for all the details, and maybe you can keep some of Android's less cooperative aspects from driving you crazy.

CA App Experience Analytics, a whole new level of visibility. Learn more. Brought to you in partnership with CA Technologies.

Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}