Rxjava 简明教程

RxJava Tutorial

RxJava 是 ReactiveX 基于 Java 的扩展。ReactiveX 是一个项目,旨在向多种编程语言提供响应式编程概念。响应式编程指的是当数据出现时程序即时做出响应的场景。这是一个基于事件的编程概念,事件可以传播到注册的观察者。根据 Reactive ,他们结合了 Observer 模式、Iterator 模式和函数式模式的优点。正确的 Observer 模式。ReactiveX 结合了 Observer 模式、Iterator 模式和函数式编程的最佳理念。

RxJava is a Java based extension of ReactiveX. ReactiveX is a project which aims to provide reactive programming concept to various programming languages. Reactive Programming refers to the scenario where program reacts as and when data appears. It is a event based programming concept and events can propagate to registers observers. As per the Reactive, they have combined the best of Observer pattern, Iterator pattern and functional pattern. The Observer pattern done right. ReactiveX is a combination of the best ideas from the Observer pattern, the Iterator pattern, and functional programming.

Audience

本教程专为那些希望了解 RxJava 特性的读者设计。本教程涵盖了对 RxJava 有基本了解所需的大多数主题,并让读者感受到它是如何工作的。

This tutorial has been designed for all those readers who want to learn the features of RxJava. This tutorial covers most of the topics required for a basic understanding of RxJava and to get a feel of how it works.

Prerequisites

本教程专为初学者准备,帮助他们理解与 RxJava 相关从基本到高级的概念。

This tutorial has been prepared for the beginners to help them understand the basic to advanced concepts related to RxJava.