From ec96c352ee039a597852fcc8cd03002d8b5943e8 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 29 Jan 2019 08:35:42 +0000 Subject: [PATCH] Correctly display "no messages" --- .../email/BoundaryCallbackMessages.java | 7 ++++++ .../email/ContentLoadingProgressBar.java | 4 ++++ .../eu/faircode/email/FragmentMessages.java | 23 ++++++++++--------- 3 files changed, 23 insertions(+), 11 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/BoundaryCallbackMessages.java b/app/src/main/java/eu/faircode/email/BoundaryCallbackMessages.java index eb61b4b9f8..5a75960b66 100644 --- a/app/src/main/java/eu/faircode/email/BoundaryCallbackMessages.java +++ b/app/src/main/java/eu/faircode/email/BoundaryCallbackMessages.java @@ -32,6 +32,7 @@ import androidx.paging.PagedList; public class BoundaryCallbackMessages extends PagedList.BoundaryCallback { private ViewModelBrowse model; private Handler handler; + private boolean loading = false; private IBoundaryCallbackMessages intf; private ExecutorService executor = Executors.newSingleThreadExecutor(Helper.backgroundThreadFactory); @@ -86,6 +87,7 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback