Skip to content

Instantly share code, notes, and snippets.

@CoderJava
Created October 1, 2018 15:33
Show Gist options
  • Select an option

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

Select an option

Save CoderJava/f019c0514aab0a5addeb2e56f8c212f9 to your computer and use it in GitHub Desktop.
Operator repeat RxJava
public class RxOperatorRepeat {
public static void main(String[] args) {
Observable.just("Hello world")
.repeat(5)
.subscribe(System.out::println);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment