Skip to content

Instantly share code, notes, and snippets.

@feresr
Last active January 30, 2017 21:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save feresr/8bacb369e8e7db20047ac750c0f5eab9 to your computer and use it in GitHub Desktop.
Save feresr/8bacb369e8e7db20047ac750c0f5eab9 to your computer and use it in GitHub Desktop.
Multicast
Observable<Data> dataStream = RxView.clicks(button)... //create the stream as before
dataStream.subscribe(data -> Log.d(TAG, "View one received the data"));
dataStream.subscribe(data -> Log.d(TAG, "View two received the data"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment