/** 显示一个人的回复 */
 private void showHuiFuList(UserModel user, DefineListView huifu_lv) {
   View headerView = inflater.inflate(R.layout.item_huifu_one_head, null);
   TextView name_tv = (TextView) headerView.findViewById(R.id.name_tv);
   name_tv.setText(StringUtils.getNotNullStr(user.name)); // 姓名显示
   huifu_lv.addHeaderView(headerView);
   HuiFuAdapter adapter = new HuiFuAdapter(context, user.huiFuList);
   huifu_lv.setAdapter(adapter);
 }
  @Override
  public View getView(int position, View convertView, ViewGroup parent) {
    final ViewHolder holder;
    int viewType = getItemViewType(position);
    switch (viewType) {
      case NONE_TYPE:
        convertView = inflater.inflate(R.layout.no_data, parent, false);
        break;
      case HAS_DATA_TYPE:
        convertView = inflater.inflate(R.layout.item_huifu, parent, false);
        holder = new ViewHolder(convertView);
        final UserModel user = list.get(position);
        // 头像显示
        Glide.with(context)
            .load(StringUtils.getNotNullStr(user.url))
            .placeholder(R.mipmap.renwu_default_head)
            .into(holder.head_iv);
        showHuiFuList(user, holder.huifu_lv);

        break;
    }

    return convertView;
  }