android-components / mozilla.components.feature.downloads / SimpleDownloadDialogFragment / newInstance

# newInstance

`fun newInstance(@StringRes dialogTitleText: Int = mozac_feature_downloads_dialog_download, @StringRes positiveButtonText: Int = mozac_feature_downloads_dialog_download, @StringRes negativeButtonText: Int = mozac_feature_downloads_dialog_cancel, @StyleRes themeResId: Int = 0, cancelable: Boolean = false): SimpleDownloadDialogFragment` (source)

A builder method for creating a SimpleDownloadDialogFragment