mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
filter activity by file Id
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
d1ba80eb4a
commit
19edfb183a
2 changed files with 6 additions and 5 deletions
|
@ -194,9 +194,9 @@ dependencies {
|
||||||
// dependencies for app building
|
// dependencies for app building
|
||||||
implementation 'com.android.support:multidex:1.0.3'
|
implementation 'com.android.support:multidex:1.0.3'
|
||||||
// implementation project('nextcloud-android-library')
|
// implementation project('nextcloud-android-library')
|
||||||
genericImplementation "com.github.nextcloud:android-library:${androidLibraryVersion}"
|
genericImplementation "com.github.nextcloud:android-library:filterActivities-SNAPSHOT"
|
||||||
gplayImplementation "com.github.nextcloud:android-library:${androidLibraryVersion}"
|
gplayImplementation "com.github.nextcloud:android-library:filterActivities-SNAPSHOT"
|
||||||
versionDevImplementation 'com.github.nextcloud:android-library:master-SNAPSHOT' // use always latest master
|
versionDevImplementation 'com.github.nextcloud:android-library:filterActivities-SNAPSHOT' // use always latest master
|
||||||
implementation "com.android.support:support-v4:${supportLibraryVersion}"
|
implementation "com.android.support:support-v4:${supportLibraryVersion}"
|
||||||
implementation "com.android.support:design:${supportLibraryVersion}"
|
implementation "com.android.support:design:${supportLibraryVersion}"
|
||||||
implementation 'com.jakewharton:disklrucache:2.0.2'
|
implementation 'com.jakewharton:disklrucache:2.0.2'
|
||||||
|
|
|
@ -24,7 +24,6 @@ import android.accounts.Account;
|
||||||
import android.accounts.AuthenticatorException;
|
import android.accounts.AuthenticatorException;
|
||||||
import android.accounts.OperationCanceledException;
|
import android.accounts.OperationCanceledException;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.os.AsyncTask;
|
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.support.annotation.NonNull;
|
import android.support.annotation.NonNull;
|
||||||
import android.support.v4.app.Fragment;
|
import android.support.v4.app.Fragment;
|
||||||
|
@ -192,7 +191,9 @@ public class FileDetailActivitiesFragment extends Fragment implements ActivityLi
|
||||||
isLoadingActivities = true;
|
isLoadingActivities = true;
|
||||||
//getActivity().runOnUiThread(() -> setIndeterminate(isLoadingActivities));
|
//getActivity().runOnUiThread(() -> setIndeterminate(isLoadingActivities));
|
||||||
|
|
||||||
GetRemoteActivitiesOperation getRemoteNotificationOperation = new GetRemoteActivitiesOperation();
|
GetRemoteActivitiesOperation getRemoteNotificationOperation = new GetRemoteActivitiesOperation(
|
||||||
|
file.getLocalId());
|
||||||
|
|
||||||
if (pageUrl != null) {
|
if (pageUrl != null) {
|
||||||
getRemoteNotificationOperation.setNextUrl(pageUrl);
|
getRemoteNotificationOperation.setNextUrl(pageUrl);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue