filter activity by file Id

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2018-05-02 08:49:32 +02:00 committed by AndyScherzinger
parent d1ba80eb4a
commit 19edfb183a
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B
2 changed files with 6 additions and 5 deletions

View file

@ -194,9 +194,9 @@ dependencies {
// dependencies for app building
implementation 'com.android.support:multidex:1.0.3'
// implementation project('nextcloud-android-library')
genericImplementation "com.github.nextcloud:android-library:${androidLibraryVersion}"
gplayImplementation "com.github.nextcloud:android-library:${androidLibraryVersion}"
versionDevImplementation 'com.github.nextcloud:android-library:master-SNAPSHOT' // use always latest master
genericImplementation "com.github.nextcloud:android-library:filterActivities-SNAPSHOT"
gplayImplementation "com.github.nextcloud:android-library:filterActivities-SNAPSHOT"
versionDevImplementation 'com.github.nextcloud:android-library:filterActivities-SNAPSHOT' // use always latest master
implementation "com.android.support:support-v4:${supportLibraryVersion}"
implementation "com.android.support:design:${supportLibraryVersion}"
implementation 'com.jakewharton:disklrucache:2.0.2'

View file

@ -24,7 +24,6 @@ import android.accounts.Account;
import android.accounts.AuthenticatorException;
import android.accounts.OperationCanceledException;
import android.content.Context;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.Fragment;
@ -192,7 +191,9 @@ public class FileDetailActivitiesFragment extends Fragment implements ActivityLi
isLoadingActivities = true;
//getActivity().runOnUiThread(() -> setIndeterminate(isLoadingActivities));
GetRemoteActivitiesOperation getRemoteNotificationOperation = new GetRemoteActivitiesOperation();
GetRemoteActivitiesOperation getRemoteNotificationOperation = new GetRemoteActivitiesOperation(
file.getLocalId());
if (pageUrl != null) {
getRemoteNotificationOperation.setNextUrl(pageUrl);
}