From 9a86bbb025fd9bf674db063f5785d6ecebddbacf Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 14 Feb 2020 09:21:43 +0100 Subject: [PATCH] Small behavior improvement --- .../main/java/eu/faircode/email/AdapterMessage.java | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/AdapterMessage.java b/app/src/main/java/eu/faircode/email/AdapterMessage.java index 4a66be76f5..18683aabe2 100644 --- a/app/src/main/java/eu/faircode/email/AdapterMessage.java +++ b/app/src/main/java/eu/faircode/email/AdapterMessage.java @@ -1476,7 +1476,6 @@ public class AdapterMessage extends RecyclerView.Adapter() { + @Override + protected void onPreExecute(Bundle args) { + pbBody.setVisibility(View.VISIBLE); + } + + @Override + protected void onPostExecute(Bundle args) { + pbBody.setVisibility(View.GONE); + } + @Override protected Object onExecute(final Context context, final Bundle args) throws IOException { TupleMessageEx message = (TupleMessageEx) args.getSerializable("message"); @@ -1839,8 +1848,6 @@ public class AdapterMessage extends RecyclerView.Adapter