From 0d619dc1bb381ecfdf0df41713b2b3e9d7221615 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Wed, 22 Aug 2018 17:16:57 +0200 Subject: [PATCH] Refresh the list of notifications after having deleted all the notifications. --- .../comunic/client/ui/fragments/NotificationsFragment.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/NotificationsFragment.java b/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/NotificationsFragment.java index 6954b8c..5a09d71 100644 --- a/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/NotificationsFragment.java +++ b/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/NotificationsFragment.java @@ -215,6 +215,9 @@ public class NotificationsFragment extends Fragment implements View.OnCreateCont //Success Toast.makeText(getActivity(), R.string.success_delete_all_notifs, Toast.LENGTH_SHORT).show(); + + //Refresh the list of notifications + getListNotifications(); } }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);