Last active
January 22, 2021 01:00
-
-
Save mitchtabian/766d274f592b5b692ed79c16920cb038 to your computer and use it in GitHub Desktop.
Revisions
-
mitchtabian revised this gist
Mar 14, 2019 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,8 @@ public void onSubscribe(Disposable d) { } @Override public void onNext(Task task) { // run on main thread Log.d(TAG, "onNext: : " + task.getDescription()); } @Override -
mitchtabian revised this gist
Mar 14, 2019 . 1 changed file with 0 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -3,17 +3,14 @@ public void onSubscribe(Disposable d) { } @Override public void onNext(Task task) { Log.d(TAG, "onNext: : " + task.getDescription()); } @Override public void onError(Throwable e) { } @Override public void onComplete() { -
mitchtabian created this gist
Mar 14, 2019 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ taskObservable.subscribe(new Observer<Task>() { @Override public void onSubscribe(Disposable d) { } @Override public void onNext(Task task) { Log.d(TAG, "onNext: : " + task.getDescription()); } @Override public void onError(Throwable e) { } @Override public void onComplete() { } });