Skip to content

Commit 3bec6dd

Browse files
few changes
1 parent 684809c commit 3bec6dd

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

‎app/src/main/java/com/rxjava2/android/samples/ConcatExampleActivity.java‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,12 @@ public void onClick(View view) {
3636
}
3737

3838
/*
39-
* Using concat operator to combine Observable : concat does not maintain
40-
* the order of emitting values.
41-
* It will emit all the 7 values but may not be in order
39+
* Using concat operator to combine Observable : concat maintain
40+
* the order.
41+
* It will emit all the 7 values in order
42+
* here - first 1, 3, 5, 7 and then 2, 4, 6
43+
* first all from the first Observable and then
44+
* all from the second Observable all in order
4245
*/
4346
private void doSomeWork() {
4447
final String[] oddStrings = {"1", "3", "5", "7"};

0 commit comments

Comments
 (0)