- companion object {
- fun addDomain(urlString: String?): AddDomainDialog {
- // Create an arguments bundle.
- val argumentsBundle = Bundle()
-
- // Store the URL in the bundle.
- argumentsBundle.putString(URL_STRING, urlString)
-
- // Create a new instance of the dialog.
- val addDomainDialog = AddDomainDialog()
-
- // Add the arguments bundle to the dialog.
- addDomainDialog.arguments = argumentsBundle
-
- // Return the new dialog.
- return addDomainDialog
- }
- }
-