Created
September 19, 2018 09:55
-
-
Save cloudshooterhuman/2dadf5ce87b1ec3048c10cb772d43304 to your computer and use it in GitHub Desktop.
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
Observable | |
.just(1, 2, 3, 4, 5) | |
.filter(integer -> integer % 2 != 0) | |
.subscribe( | |
integer -> Log.i(TAG, String.valueOf(integer)), | |
error -> Log.e(TAG, "Error"), | |
() -> Log.i(TAG, "No more results") | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment