code: public static SampleDialogFragment newInstance(int radius,
                                                     float downScaleFactor,
                                                     boolean dimming,
                                                     boolean debug) {
          SampleDialogFragment fragment = new SampleDialogFragment();
          Bundle args = new Bundle();
          args.putInt(
                  BUNDLE_KEY_BLUR_RADIUS,
                  radius
          );
          args.putFloat(
                  BUNDLE_KEY_DOWN_SCALE_FACTOR,
                  downScaleFactor
          );
          args.putBoolean(
                  BUNDLE_KEY_DIMMING,
                  dimming
          );
          args.putBoolean(
                  BUNDLE_KEY_DEBUG,
                  debug
          );
  
          fragment.setArguments(args);
  
          return fragment;
      }
docs: Retrieve a new instance of the sample fragment.
  
  @param radius          blur radius.
  @param downScaleFactor down scale factor.
  @param dimming         dimming effect.
  @param debug           debug policy.
  @return well instantiated fragment.