I've been reviewing your project seems good but I've been trying and never saves the state of the presenter.
When you save the state using PresenterHolder.getInstance () putPresenter (TopImagesListActivity.class, presenter); works well but I found that when I try to recover the state the task of being saved even then not complete when I get the instance again PresenterHolder.getInstance().getPresenter (TopImagesListPresenter.class); always is null.
Your example
if (presenter != null) {
//This line never is executed
presenter.setView(this);
} else {
presenter = new TopImagesListPresenterImpl(this);
//always is executed
}
}
Do you have any other alternative that you used?
Thank you for your contribution and your awesome job!
I've been reviewing your project seems good but I've been trying and never saves the state of the presenter.
When you save the state using PresenterHolder.getInstance () putPresenter (TopImagesListActivity.class, presenter); works well but I found that when I try to recover the state the task of being saved even then not complete when I get the instance again PresenterHolder.getInstance().getPresenter (TopImagesListPresenter.class); always is null.
Your example
Do you have any other alternative that you used?
Thank you for your contribution and your awesome job!