code: private P createViewIdAndCreatePresenter() {
  
      P presenter = delegateCallback.createPresenter();
      if (presenter == null) {
        throw new NullPointerException(
            "Presenter returned from createPresenter() is null. Fragment is " + fragment);
      }
      if (keepPresenterDuringScreenOrientationChange || keepPresenterOnBackstack) {
        Activity activity = getActivity();
        mosbyViewId = UUID.randomUUID().toString();
        PresenterManager.putPresenter(activity, mosbyViewId, presenter);
      }
      return presenter;
    }
docs: Generates the unique (mosby internal) viewState id and calls {@link
  MviDelegateCallback#createPresenter()}
  to create a new presenter instance
  
  @return The new created presenter instance