Created
October 1, 2018 15:25
-
-
Save CoderJava/803f651fc9cf629db8f978f5a5627a7f to your computer and use it in GitHub Desktop.
Operator just 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 RxOperatorJust { | |
| public static void main(String[] args) { | |
| String[] names = new String[]{"Yudi Setiawan", "Harli Lopies", "Rosalia"}; | |
| Observable.just(names) | |
| .subscribe(strings -> System.out.println(Arrays.toString(strings))); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment