Register get post info task to make task manager efficient.

This commit is contained in:
Pierre HUBERT 2018-12-08 21:08:15 +01:00
parent e111bec5f0
commit 6598645cb6

View File

@ -70,6 +70,7 @@ public class SinglePostFragment extends AbstractPostsListFragment {
}
});
mGetSinglePostTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, mPostID);
getTasksManager().addTask(mGetSinglePostTask);
}
@Override