[android-components](../../index.md) / [mozilla.components.feature.app.links](../index.md) / [SimpleRedirectDialogFragment](index.md) / [newInstance](./new-instance.md)

# newInstance

`fun newInstance(@StringRes dialogTitleText: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` = R.string.mozac_feature_applinks_confirm_dialog_title, @StringRes positiveButtonText: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` = R.string.mozac_feature_applinks_confirm_dialog_confirm, @StringRes negativeButtonText: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` = R.string.mozac_feature_applinks_confirm_dialog_deny, @StyleRes themeResId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` = 0, cancelable: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = false): `[`RedirectDialogFragment`](../-redirect-dialog-fragment/index.md) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/app-links/src/main/java/mozilla/components/feature/app/links/SimpleRedirectDialogFragment.kt#L62)

A builder method for creating a [SimpleRedirectDialogFragment](index.md)

