code: public void setPresenterFactory(@Nullable PresenterFactory<P> presenterFactory) {
          if (presenter != null)
              throw new IllegalArgumentException("setPresenterFactory() should be called before onResume()");
          this.presenterFactory = presenterFactory;
      }
docs: {@link ViewWithPresenter#setPresenterFactory(PresenterFactory)}