Scheduler function ( ) { return AndroidSchedulers . mainThread ( ) ; }
creates an rxjava scheduler that runs tasks in android ui thread . concode_field_sep PlaceHolder placeHolder concode_field_sep Scheduler providesNewThreadScheduler concode_elem_sep Scheduler providesComputationScheduler concode_elem_sep Scheduler providesBackgroundScheduler concode_elem_sep Scheduler providesSingleThreadScheduler concode_elem_sep Executor providesSingleThreadPoolExecutor