From 6598645cb66a7d90c084a2236980285af393ee7d Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 8 Dec 2018 21:08:15 +0100 Subject: [PATCH] Register get post info task to make task manager efficient. --- .../android/comunic/client/ui/fragments/SinglePostFragment.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/SinglePostFragment.java b/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/SinglePostFragment.java index 52cffc8..eabbbcb 100644 --- a/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/SinglePostFragment.java +++ b/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/SinglePostFragment.java @@ -70,6 +70,7 @@ public class SinglePostFragment extends AbstractPostsListFragment { } }); mGetSinglePostTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, mPostID); + getTasksManager().addTask(mGetSinglePostTask); } @Override