Chris Zhang

Results 5 comments of Chris Zhang

Hi @artem-zinnatullin , could you explain your choice to not `.observeOn(AndroidSchedulers.mainThread())` in the first place? i.e.: ``` final Subscription subscription = itemsModel .getItems() .subscribeOn(presenterConfiguration.ioScheduler()) .observeOn(AndroidSchedulers.mainThread()) .subscribe( items -> { final...

@pakoito , I'm looking at `refreshData()` in your SongkickListPresenter.java example, and I must be missing something because it seems like your observables "end on UI" and not "a data storage"...

@artem-zinnatullin Pierre-Yves Ricau blogged about it [here](https://corner.squareup.com/2013/12/android-main-thread-2.html). tldr: on your main looper: 1. post an orientation change request 2. post a runnable to setText on a TextView. 3. Boom.

You are right that posting to a BehaviorSubject alone will not change anything, I think the (implied) idea behind those solutions is that the BehaviorSubject will live inside a singleton....