Skip to content

Commit 5a89d60

Browse files
authored
Update README.md
1 parent f943c0d commit 5a89d60

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,15 @@
11
# RxJava_Samples
2-
Sample codes of RxJava Operations, implementing it's different features in a self explanatory way. It can serve as a fast reference to RxJava features. You will see the desciption of the particular operation at the top of the each Class which can help you better understand the code.
2+
Sample codes of RxJava Operations, implementing it's different features in a self explanatory way. It can serve as a fast reference to RxJava features. You will see the desciption of the particular operation at the top of the each Class which can help you better understand the code. Each Java class displays a different RxJava example using a simple code snippet such as the example below demonstrating RxJava `Materialize()` operation.
3+
4+
```java
5+
Observable.just(1, 2, 3).materialize().subscribe(
6+
integerNotification -> System.out.println("Notification:" + integerNotification +
7+
" Notification kind:" + integerNotification.getKind() +
8+
" Notification value:" + integerNotification.getValue() +
9+
" Completed:" + integerNotification.isOnCompleted()
10+
),
11+
throwable -> System.out.println("Error"),
12+
() -> System.out.println("Completed")
13+
14+
);
15+
```

0 commit comments

Comments
 (0)