Having a boolean "loadMore" parameter seems weird here since the purpose is to load more. I recommend dropping this parameter and re-thinking the code in LoadPostsTasks that's calling mOnLoadMoreListener.onLoadMore(false);