Last active
May 11, 2019 07:19
-
-
Save amanjeetsingh150/f31f1ffb6983d105bf4881e1cc5ca426 to your computer and use it in GitHub Desktop.
This file contains 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
public void setOnJourneyBegin(Object journeyEvent) { | |
subject.onNext(journeyEvent); | |
} | |
public Observable<Object> getOnJourneyEvent() { | |
return subject; | |
} | |
public void setOnJourneyEnd(Object journeyEvent) { | |
subject.onNext(journeyEvent); | |
} | |
public void setOnJourneyUpdate(Object journeyEvent) { | |
subject.onNext(journeyEvent); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment