- private void onUnshareLinkOperationFinish(UnshareLinkOperation operation, RemoteOperationResult result) {
- if (result.getCode() == ResultCode.FILE_NOT_FOUND) {
- // Show a Message
- Toast t = Toast.makeText(this, getString(R.string.share_link_file_no_exist), Toast.LENGTH_LONG);
- t.show();
+
+ private void onCreateShareOperationFinish(CreateShareOperation operation, RemoteOperationResult result) {
+ if (result.isSuccess()) {
+ refeshListOfFilesFragment();