code: public static boolean shouldShowRateDialog() {
          if (mOptOut) {
              return false;
          } else {
              if (mLaunchTimes >= sConfig.mCriteriaLaunchTimes) {
                  return true;
              }
              long threshold = TimeUnit.DAYS.toMillis(sConfig.mCriteriaInstallDays);   // msec
              if (new Date().getTime() - mInstallDate.getTime() >= threshold &&
                  new Date().getTime() - mAskLaterDate.getTime() >= threshold) {
                  return true;
              }
              return false;
          }
      }
docs: Check whether the rate dialog should be shown or not.
  Developers may call this method directly if they want to show their own view instead of
  dialog provided by this library.
  @return