Program: 62552
Project: 62552
Buggy source:
@Override protected void initEventAndData(){
  super.initEventAndData();
  isInnerFragment=true;
  setRefresh();
  Bundle bundle=getArguments();
  id=bundle.getInt(Constants.ARG_PARAM1,0);
  if (id == 0) {
    return;
  }
  mCurrentPage=0;
  mPresenter.getKnowledgeHierarchyDetailData(mCurrentPage,id);
  mAdapter=new ArticleListAdapter(R.layout.item_search_pager,mArticles);
  mAdapter.setOnItemClickListener((adapter,view,position) -> {
    articlePosition=position;
    mOptions=ActivityOptions.makeSceneTransitionAnimation(_mActivity,view,getString(R.string.share_view));
    JudgeUtils.startArticleDetailActivity(_mActivity,mOptions,mAdapter.getData().get(position).getId(),mAdapter.getData().get(position).getTitle().trim(),mAdapter.getData().get(position).getLink().trim(),mAdapter.getData().get(position).isCollect(),false,false);
  }
);
  mAdapter.setOnItemChildClickListener((adapter,view,position) -> {
switch (view.getId()) {
case R.id.item_search_pager_chapterName:
      break;
case R.id.item_search_pager_like_iv:
    likeEvent(position);
  break;
case R.id.item_search_pager_tag_red_tv:
String superChapterName=mAdapter.getData().get(position).getSuperChapterName();
if (superChapterName.contains(getString(R.string.open_project))) {
RxBus.getDefault().post(new SwitchProjectEvent());
}
 else if (superChapterName.contains(getString(R.string.navigation))) {
RxBus.getDefault().post(new SwitchNavigationEvent());
}
break;
default :
break;
}
}
);
mRecyclerView.setAdapter(mAdapter);
mRecyclerView.setLayoutManager(new LinearLayoutManager(_mActivity));
if (CommonUtils.isNetworkConnected()) {
showLoading();
}
}

Fixed version (ground truth):
@Override protected void initEventAndData(){
  super.initEventAndData();
  isInnerFragment=true;
  setRefresh();
  Bundle bundle=getArguments();
  id=bundle.getInt(Constants.ARG_PARAM1,0);
  if (id == 0) {
    return;
  }
  mCurrentPage=0;
  mPresenter.getKnowledgeHierarchyDetailData(mCurrentPage,id);
  mAdapter=new ArticleListAdapter(R.layout.item_search_pager,mArticles);
  mAdapter.setOnItemClickListener((adapter,view,position) -> {
    if (mAdapter.getData().size() <= 0 || mAdapter.getData().size() <= position) {
      return;
    }
    articlePosition=position;
    mOptions=ActivityOptions.makeSceneTransitionAnimation(_mActivity,view,getString(R.string.share_view));
    JudgeUtils.startArticleDetailActivity(_mActivity,mOptions,mAdapter.getData().get(position).getId(),mAdapter.getData().get(position).getTitle().trim(),mAdapter.getData().get(position).getLink().trim(),mAdapter.getData().get(position).isCollect(),false,false);
  }
);
  mAdapter.setOnItemChildClickListener((adapter,view,position) -> {
switch (view.getId()) {
case R.id.item_search_pager_chapterName:
      break;
case R.id.item_search_pager_like_iv:
    likeEvent(position);
  break;
case R.id.item_search_pager_tag_red_tv:
if (mAdapter.getData().size() <= 0 || mAdapter.getData().size() <= position) {
  return;
}
String superChapterName=mAdapter.getData().get(position).getSuperChapterName();
if (superChapterName.contains(getString(R.string.open_project))) {
RxBus.getDefault().post(new SwitchProjectEvent());
}
 else if (superChapterName.contains(getString(R.string.navigation))) {
RxBus.getDefault().post(new SwitchNavigationEvent());
}
break;
default :
break;
}
}
);
mRecyclerView.setAdapter(mAdapter);
mRecyclerView.setLayoutManager(new LinearLayoutManager(_mActivity));
if (CommonUtils.isNetworkConnected()) {
showLoading();
}
}