@Test public void shouldShowLoadingWhenInitialize(){ presenter.setView(view); presenter.initialize(); verify(view , times(1)).showLoading(); }
@Override public void initialize() { getView().showLoading(); }
ActorDetailContentPresenter extends BasePresenter<ActorDetailContentPresenter.View> { @Override public void initialize() { getView().showLoading(); } }
ActorDetailContentPresenter extends BasePresenter<ActorDetailContentPresenter.View> { @Override public void initialize() { getView().showLoading(); } ActorDetailContentPresenter(); }
ActorDetailContentPresenter extends BasePresenter<ActorDetailContentPresenter.View> { @Override public void initialize() { getView().showLoading(); } ActorDetailContentPresenter(); @Override void initialize(); @Override void onDestroy(); void setActor(Actor actor); void onPhotoClicked(int position, int viewHolderPos); }
ActorDetailContentPresenter extends BasePresenter<ActorDetailContentPresenter.View> { @Override public void initialize() { getView().showLoading(); } ActorDetailContentPresenter(); @Override void initialize(); @Override void onDestroy(); void setActor(Actor actor); void onPhotoClicked(int position, int viewHolderPos);  }