As part of the educational programs in e-Legion, we give lectures on Android development in the ITIS KFU laboratory . We decided to share two of them with you. Lectures are devoted to the increasingly popular framework RxJava.
Lecture 1
The lecture tells about:
General ideas of the RxJava framework, why it is needed and how to work with it
Ways to create various Observable and the most basic operations on them
The main conversion operators are Observable, as well as the cache method
Observable join operations and their sequential / parallel execution.
Presentation . In addition, as part of the class it was proposed to solve 4 practical tasks in order to better master the material. You can also try your hand (link to all test projects and examples at the end).
Lecture 2
The second lecture is devoted to using RxJava and RxAndroid in the real world when developing applications.
Considered the remaining entities Rx: Subscription, Subject, Schedulers and their purpose
Various options for building application architecture with RxJava
Libraries using and intended for RxJava: trello-lifecycle, RxBinding, RxPermissions.
Presentation . ')
Within the class there were 2 practical tasks: one for paralleling and query management, the second, more general, building a simple architecture with RxJava and periodically updating data from the server.