Upgrade to Pro — share decks privately, control downloads, hide ads and more …

RxJava: Which thread is running

Samuel Huang
December 27, 2018

RxJava: Which thread is running

Android Taipei - Lightning Talk

Samuel Huang

December 27, 2018
Tweet

Other Decks in Programming

Transcript

  1. Private & Confidential private Observable<Void> taskNetworkObservable() { return Observable.create(emitter ->

    { runOnUiThread(() -> { emitter.onNext(null); emitter.onCompleted(); }); }, Emitter.BackpressureMode.NONE); }