YourPorn v1.2.4版本的 MD5 值为:25af0cc492747d0d721ef41054943bde
以下内容为反编译后的 ChatRoomAdapter.java 源代码,内容仅作参考
package com.caoliu.module_im.adapter;
import android.support.v4.media.Cif;
import android.widget.ImageView;
import com.caoliu.module_im.R;
import com.caoliu.module_im.entity.RoomResponse;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import f0.Cfor;
import i.Cdo;
import p000abstract.Cnew;
public final class ChatRoomAdapter extends BaseQuickAdapter<RoomResponse, BaseViewHolder> {
public ChatRoomAdapter() {
super(R.layout.item_chat_room, null, 2);
}
@Override
public void mo520goto(BaseViewHolder baseViewHolder, RoomResponse roomResponse) {
RoomResponse roomResponse2 = roomResponse;
Cdo.m2667class(baseViewHolder, "holder");
Cdo.m2667class(roomResponse2, "item");
baseViewHolder.setText(R.id.f10337tv, roomResponse2.getRoomName());
int i10 = R.id.tv_content;
StringBuilder m114import = Cnew.m114import((char) 65306);
m114import.append(roomResponse2.getLastMessageType() == 1 ? roomResponse2.getLastMessage() : roomResponse2.getLastMessageType() == 2 ? "[图片]" : "");
baseViewHolder.setText(i10, m114import.toString());
ImageView imageView = (ImageView) baseViewHolder.getView(R.id.img);
StringBuilder m178throw = Cif.m178throw("https://s3.ap-east-1.amazonaws.com");
m178throw.append(roomResponse2.getRoomAvatar());
Cfor.m2368finally(imageView, m178throw.toString());
baseViewHolder.setVisible(R.id.view_red, roomResponse2.getShowRed());
}
}