+ public static AddDomainDialog addDomain(String url) {
+ // Create an arguments bundle.
+ Bundle argumentsBundle = new Bundle();
+
+ // Store the URL in the bundle.
+ argumentsBundle.putString("url", url);
+
+ // Create a new instance of the dialog.
+ AddDomainDialog addDomainDialog = new AddDomainDialog();
+
+ // Add the bundle to the dialog.
+ addDomainDialog.setArguments(argumentsBundle);
+
+ // Return the new dialog.
+ return addDomainDialog;
+ }
+