Skip to content

Codelab project for demonstration of RxJava features

Notifications You must be signed in to change notification settings

edamyanov/RxJava-Codelab

 
 

Repository files navigation

RxJava Basics Codelab

Build Status

Introduction

Reactive programming is mentioned everywhere these days. It solves many common issues of imperative programming in an elegant way. Dozens of libraries are springing up, giving developers access to powerful tools that make their everyday development life easier. However, it can take time to learn how to wield these tools effectively as they are often difficult to understand and if used improperly they can sometimes do more harm than good.

This codelab will go through the RxJava basics, in order to demonstrate the main concepts and common use-cases of the ReactiveX framework, as well as reactive programming in general. It should make RxJava and reactive programming much clearer to you and give you lots of ideas of when and where you might want to use it. Once you have seen what it can do, you won't want to go back to how you were programming before!

Prerequisites

  1. Java 8 SDK
  2. IntelliJ (any edition) or Android Studio

Project setup

  1. Clone this repo (GitHub Desktop, SourceTree or git clone https://github.com/jraska/RxJava-Codelab.git)
  2. Open it in IntelliJ or Android Studio
  3. Run ./gradlew build in Terminal
  4. Try to run SetupTest from your IDE
  5. Call for help if it doesn't work

Topics to cover

  • What is a stream? Observable contract
  • Transformations
  • Filtering
  • Composing
  • Schedulers
  • How to create Observables

Links

About

Codelab project for demonstration of RxJava features

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%