From f1cd0435c98c90c72cfe3d9cb247cda12658ced5 Mon Sep 17 00:00:00 2001 From: babaliaris Date: Fri, 13 Nov 2020 19:58:30 +0200 Subject: [PATCH] Added TODO comments --- .../gr/thmmy/mthmmy/activities/bookmarks/BookmarksAdapter.java | 2 ++ .../gr/thmmy/mthmmy/activities/bookmarks/BookmarksFragment.java | 1 + 2 files changed, 3 insertions(+) diff --git a/app/src/main/java/gr/thmmy/mthmmy/activities/bookmarks/BookmarksAdapter.java b/app/src/main/java/gr/thmmy/mthmmy/activities/bookmarks/BookmarksAdapter.java index 0049cdc1..30d7aaf9 100644 --- a/app/src/main/java/gr/thmmy/mthmmy/activities/bookmarks/BookmarksAdapter.java +++ b/app/src/main/java/gr/thmmy/mthmmy/activities/bookmarks/BookmarksAdapter.java @@ -119,6 +119,8 @@ public class BookmarksAdapter extends DragItemAdapter, Bookm //Remove Item. + //TODO: AFTER DELETION, UPDATE THE ORDER IN THE PREFERENCES OF ALL + // ALL THE BOOKMARKS UNDER THIS ONE THAT HAS BEEN DELETED! holder.m_removeView.setOnClickListener(v -> { //Get fragment's activity. diff --git a/app/src/main/java/gr/thmmy/mthmmy/activities/bookmarks/BookmarksFragment.java b/app/src/main/java/gr/thmmy/mthmmy/activities/bookmarks/BookmarksFragment.java index 94a49b69..d319f3ad 100644 --- a/app/src/main/java/gr/thmmy/mthmmy/activities/bookmarks/BookmarksFragment.java +++ b/app/src/main/java/gr/thmmy/mthmmy/activities/bookmarks/BookmarksFragment.java @@ -129,6 +129,7 @@ public class BookmarksFragment extends Fragment { // or closes the app, the order of the bookmarks will be lost. // make sure after the following swapping, to apply the changes // in the actual data model of the bookmarks. + // AFTER SWAPPING UPDATE THE ORDER OF THOSE TWO IN THE PREFERENCES. if (fromPosition != toPosition) {