code: protected void onOrientationChanged(int lastOrientation, int currentOrientation) {
          if (controller != null) {
              controller.onOrientationChanged(
                      parseOrientation(lastOrientation),
                      parseOrientation(currentOrientation));
          }
      }
docs: Called after {@link #onViewReady(View, Bundle, Reason)} when orientation changed.
  
  @param lastOrientation    Orientation before rotation
  @param currentOrientation Current orientation