diff options
3 files changed, 5 insertions, 0 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/persistence/sync/SyncManager.java b/app/src/main/java/it/niedermann/nextcloud/deck/persistence/sync/SyncManager.java index 635384d5b..2cfab071f 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/persistence/sync/SyncManager.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/persistence/sync/SyncManager.java @@ -541,4 +541,7 @@ public class SyncManager { return serverAdapter.getApiUrl(); } + public void reorder(Long accountId, FullCard movedCard, long newStackId, int newPosition) { + // FIXME implement! + } } diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/MainActivity.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/MainActivity.java index 15c2bcc60..5e5f693a7 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/MainActivity.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/MainActivity.java @@ -80,6 +80,7 @@ public class MainActivity extends DrawerActivity { dragAndDrop.register(viewPager); dragAndDrop.addCardMovedByDragListener((movedCard, stackId, position) -> { //FIXME: implement me por favour! + syncManager.reorder(account.getId(), movedCard, stackId, position); DeckLog.log("Card \"" + movedCard.getCard().getTitle() + "\" was moved to Stack " + stackId + " on position " + position); }); diff --git a/fastlane/metadata/android/en-US/changelogs/6.txt b/fastlane/metadata/android/en-US/changelogs/6.txt index e69de29bb..c59d9b634 100644 --- a/fastlane/metadata/android/en-US/changelogs/6.txt +++ b/fastlane/metadata/android/en-US/changelogs/6.txt @@ -0,0 +1 @@ +d
\ No newline at end of file |