The GDG Barcelona Rx for Android Workshop by Cristian García
A series of exercises to learn how to develop applications using RxJava through tests.
The workshop will have two main parts:
basics
: it contains some small exercises to get familiar with RxJavaRxBasicsUnitTest
it's the entry point, execute the tests and solve them if it's needed. You'll learn to create a simple observable, map and make simple assertions. You'll have to write code onRxBasics
too.RxTimeTest
is the second step. It pairs withRxTime
, and this time you'll learn about other ways to create and test an Observable.RXSchedulersTest
is an extra, just to show what's an Schedulerflights
: the funny stuff! We have been hired by a startup trying to win the flights comparators market, and our Product Owner have an assignment for us.FlightsUnitTest
we have a syncronous implementation to retrieve flights from a service, BUT..as the number of services grows the app goes slower, we need to do something to make ir faster.SuggestUnitTest
is great to have the flights but we need to choose where do we want to fly and to do it, why don't we implement a suggest?
the frodo
module is just an example of the frodo library from Fernando Cejas.
https://docs.google.com/presentation/d/1cI88EoPKLrkivajuIpTLCdhBBYlPUZYHcuBiLu_Stug/edit?usp=sharing