群成员详情信息问题,获取不到头像和用户昵称

2020-01-07 18:17:52 浏览数 (1)

代码语言:javascript复制
if (view == null) {
    view = LayoutInflater.from(TUIKit.getAppContext()).inflate(R.layout.group_member_adpater, viewGroup, false);
    holder = new MyViewHolder();
    holder.memberIcon = view.findViewById(R.id.group_member_icon);
    holder.memberName = view.findViewById(R.id.group_member_name);
    view.setTag(holder);
} else {
    holder = (MyViewHolder) view.getTag();
}
final GroupMemberInfo info = getItem(i);
if (!TextUtils.isEmpty(info.getIconUrl())) {
    GlideEngine.loadImage(holder.memberIcon, info.getIconUrl(), null);
}
if (!TextUtils.isEmpty(info.getAccount())) {
    holder.memberName.setText(info.getAccount());
} else {
    holder.memberName.setText("");
}
Log.e("GroupInfoAdapter", "数据" info.getIconUrl());

安装腾讯云demo来集成的,做到群聊天的时候出现了,头像打印为空,昵称是也不对,请问下是怎么获取呢

0 人点赞