mutexkid / rxjava-koans

A series of interactive exercises that teach you RxJava

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

##RxJava Koans


The Koans walk you along the path to Rx enlightenment in order to learn RxJava. The goal is to learn the functional reactive programming approach and how to work with RxJava to solve common problems.

The koans are broken out into subjects by file. Each koan file builds up your knowledge of rx-java and builds upon itself. It will stop at the first place you need to correct.

Some koans simply need to have the correct answer substituted for an incorrect one. Some, however, require you to supply your own answer. If you see the method __ (a double underscore) listed, it is a hint to you to supply your own code in order to make it work correctly. Your task is to make each test pass!

Instructions for how to run the project

  1. Java 8 is needed for the exercise. Download from here if you don't have it already.
  2. download IntelliJ Community Edition
  3. git clone git@github.com:mutexkid/rxjava-koans.git
  4. In Intellij, select File > Import Project... and select the cloned directory
  5. In the Import Project dialog, select Import Project from External Model, choose Gradle and click next.
  6. On the next screen, make sure "use default gradle wrapper" is selected and click Finish
  7. Last, under File > Project Structure, set Project SDK: to Java 1.8 and click ok!

Run the test suite by right clicking on src/test/java and selecting Run 'All Tests'. 5. The test suite will fail - make each test pass!

For more information about Functional Reactive Programming with RxJava, check out my article on the topic.

About

A series of interactive exercises that teach you RxJava


Languages

Language:Java 100.0%