Presenter surviving orientation changes with Loaders
Antonio Gutierrez
19427

Hi, Antonio Gutierrez! Thank you a lot for sharing this approach! This is amazing how much you can achieve using built-in Android features the right way!

I would suggest one addition (or simplification) to this pattern. I’m using Dagger to inject Presenters into activities and fragments, and as far as I understand, the part when you pass a PresenterFactory instance to onCreateLoader() can be omitted with passing an injected instance of the Presenter, so Loader will always keep its instance and will serve more as an instance keeper than a Loader. In this case onForceLoad() impementation can also be omitted.