+ /**
+ * Shows the share view for sharing {@link OCFile} received as a
+ * parameter in the second fragment.
+ *
+ * @param file {@link OCFile} File to share with
+ */
+ @Override
+ public void showShareFile(OCFile file) {
+ ShareFileDialogFragment dialog =
+ ShareFileDialogFragment.newInstance(file, getAccount());
+ dialog.show(getSupportFragmentManager(), DIALOG_SHARE_FILE);
+ }
+