implements FileFragment.ContainerActivity,
OnSslUntrustedCertListener, OnEnforceableRefreshListener {
-
-
private SyncBroadcastReceiver mSyncBroadcastReceiver;
private UploadFinishReceiver mUploadFinishReceiver;
private DownloadFinishReceiver mDownloadFinishReceiver;
setFile(file);
}
+ /**
+ * 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) {
+ Intent intent = new Intent(this, ShareActivity.class);
+ intent.putExtra(EXTRA_FILE, file);
+ intent.putExtra(EXTRA_ACCOUNT, getAccount());
+ startActivity(intent);
+ }
+
@Override
protected void updateActionBarTitleAndHomeButton(OCFile chosenFile) {
if (mDualPane) {
OCFile syncedFile = operation.getLocalFile();
onTransferStateChanged(syncedFile, true, true);
invalidateOptionsMenu();
+ refreshShowDetails();
}
}
}