<@U0CBBGDEV> 1. If a method is called from the UI...
# android
u
@kko 1. If a method is called from the UI thread (e.g. from a click listener), then do nothing special. 2. If the presenter itselfs starts some background stuff (e.g. some scheduled thing or something that is local to the presenter), it has to make sure it calls the view on the UI thread:
Copy code
scheduler.after(30.seconds) {
                onMainThread {
	                   view?.updateFoo()
                }
            }
3. If the presenters trigger backend stuff in the model, it kind of depends on your architecture. If you're using EventBus you could use
ThreadMode.MAIN
. If you're using Rx you could use main thread schedulers.