code: private static LicensesDialogFragment newInstance(final Notices notices,
                                                        final boolean showFullLicenseText,
                                                        final boolean includeOwnLicense,
                                                        final String noticeStyle,
                                                        final int themeResourceId,
                                                        final int dividerColor) {
          final LicensesDialogFragment licensesDialogFragment = new LicensesDialogFragment();
          final Bundle args = new Bundle();
          args.putParcelable(ARGUMENT_NOTICES, notices);
          args.putBoolean(ARGUMENT_FULL_LICENSE_TEXT, showFullLicenseText);
          args.putBoolean(ARGUMENT_INCLUDE_OWN_LICENSE, includeOwnLicense);
          args.putString(ARGUMENT_NOTICE_STYLE, noticeStyle);
          args.putInt(ARGUMENT_THEME_XML_ID, themeResourceId);
          args.putInt(ARGUMENT_DIVIDER_COLOR, dividerColor);
          licensesDialogFragment.setArguments(args);
          return licensesDialogFragment;
      }
docs: ==========================================================================================================================