+ /**
+ * Get users and groups from the server to fill in the "share with" list
+ */
+ public void refreshUsersOrGroupsListFromServer(){
+ // Show loading
+ ((ShareActivity) getActivity()).showLoadingDialog(getString(R.string.common_loading));
+ // Get Users and Groups
+ GetShareWithUsersAsyncTask getTask = new GetShareWithUsersAsyncTask(this);
+ Object[] params = { mFile, mAccount, mFileDataStorageManager};
+ getTask.execute(params);
+ }
+