Skip to content

Instantly share code, notes, and snippets.

@CoderJava
Created October 1, 2018 13:47
Show Gist options
  • Select an option

  • Save CoderJava/73bd65db811ff05763e1ed35388061d0 to your computer and use it in GitHub Desktop.

Select an option

Save CoderJava/73bd65db811ff05763e1ed35388061d0 to your computer and use it in GitHub Desktop.
Operator from RxJava
public class RxOperatorFrom {
public static void main(String[] args) {
String[] names = new String[]{"Yudi Setiawan", "Harli Lopies", "Rosalia"};
Observable.fromArray(names)
.subscribe(System.out::println);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment