Recently, I am trying to use MVPPattern in my Android project.
I know that I cannot execute business logic in a layer View. Viewmust deliver all work to a level Presenter, and then wait for the result from Presenter.
Viewshould do anything in the user interface thread. But Presentercan do something in Sub-Thread.
How to manage multithreading in layout Viewand Preseneter?
Any help would be greatly appreciated.
source
share