Skip to content

Instantly share code, notes, and snippets.

@sbimikesmullin
Created March 15, 2015 21:07
Show Gist options
  • Save sbimikesmullin/d0263a2d7508e5d080bf to your computer and use it in GitHub Desktop.
Save sbimikesmullin/d0263a2d7508e5d080bf to your computer and use it in GitHub Desktop.
RxJava Example
// RxJava example
String names[] = new String[]{ "Ben", "George" };
rx.Observable.from(names).subscribe((String s) -> {
System.out.println("Hey "+s+"!");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment