Created
October 1, 2018 15:58
-
-
Save CoderJava/28abf8dba750f01cb6eda0ac990b0f4a to your computer and use it in GitHub Desktop.
Transforming Operator Buffer RxJava
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class RxTransformingOperatorBuffer { | |
| public static void main(String[] args) throws InterruptedException { | |
| String[] names = new String[]{"Yudi Setiawan", "Rosalia", "Harli Lopies", "Fitriani"}; | |
| Observable.fromArray(names) | |
| .buffer(3) | |
| .subscribe(System.out::println); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment