Simple play icon Course
Skills Expanded

Droidcon Boston '19: Achieving Fully Reactive Code Using Both LiveData and RxJava

by Droidcon Boston

We’ll review what reactive programming is and its history. We’ll address the ways in which the Android community has been using reactive technologies and how it can take the next step in adopting these techs towards creating end to end reactive apps.

What you'll learn

Modern mobile applications make use of a wide array of technical solutions to achieve clean, testable and performant code. Among these tools is the reactive programming paradigm. While many have heard of reactive programming, far less have a solid understanding of what it is, how to achieve it, and what benefits it may provide. The Android communities use of RxJava as a replacement for the AsyncTask class has lead to widespread adoption of reactive technologies without a corresponding embracing of reactive programming. In this talk, we’ll review what reactive programming is and what its history is. We’ll then address the ways in which the Android community has been using reactive technologies and how it could take the next step in adopting these technologies towards creating end to end reactive apps. We’ll take a deep dive into how RxJava integrates with the Android LiveData classes and when to use which. We’ll work through a small but meaningful application to demonstrate reactive programming concepts in the Android world. We’ll end the example by looking at how the code can be (easily) tested and some of the benefits we’ve received from utilizing a reactive approach.

Table of contents

Achieving Fully Reactive Code Using Both LiveData and RxJava
24mins

About the author

Droidcon Boston brings the best of Android to Boston since 2017. This conference is part of the vision of Double Espresso (www.2xe.io) that aims to keep training affordable to everyone and to give equal opportunities to speak to speakers from all over the world. Droidcon Boston is where Android experts from around the world come together to look into the future of Android, mobile development and ethics to prepare for the challenges and opportunities ahead. Droidcon Boston is where the Android co... more

Ready to upskill? Get started