zak.taccardi
05/10/2017, 9:21 PMfun dataEmissions() : Observable<YourData>()
and fun executeNetworkRequest(params: Params)
(note 2nd method returns void).juliocbcotta
05/10/2017, 9:25 PMPublishSuject subject
in the repository and return it in the dataEmissions()
method and in the executeNetworkRequest()
I would have something like service.get().subscribe(subject)
?zak.taccardi
05/10/2017, 9:26 PMzak.taccardi
05/10/2017, 9:26 PMjuliocbcotta
05/10/2017, 9:27 PMjuliocbcotta
05/10/2017, 9:27 PM