[android-components](../../index.md) / [mozilla.components.feature.addons.ui](../index.md) / [AddonInstallationDialogFragment](index.md) / [onCreateDialog](./on-create-dialog.md)

# onCreateDialog

`fun onCreateDialog(savedInstanceState: <ERROR CLASS>?): <ERROR CLASS>` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/addons/src/main/java/mozilla/components/feature/addons/ui/AddonInstallationDialogFragment.kt#L94)