package com.ss.android.ugc.aweme.im.sdk.group.feature.selector.ui.view;

import X.0HH;
import X.7he;
import X.AnonymousClass4P7;
import X.AnonymousClass4P8;
import X.AnonymousClass4P9;
import X.AnonymousClass4PD;
import X.CE9;
import X.Crj;
import X.DaP;
import X.Izz;
import X.J84;
import X.M12;
import X.QCT;
import X.Qeg;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.bytedance.covode.number.Covode;
import com.bytedance.ies.powerlist.PowerCell;
import kotlin.h.b.n;

public final class GroupListCell extends PowerCell<AnonymousClass4P7> {
    public final Crj LIZ = 7he.LIZ(new AnonymousClass4P9(this));

    static {
        Covode.recordClassIndex(86490);
    }

    public final void bD_() {
        this.itemView.setOnClickListener(new AnonymousClass4P8(this));
    }

    public final View LIZ(ViewGroup viewGroup) {
        M12.LIZ(viewGroup);
        View LIZ2 = 0HH.LIZ(LayoutInflater.from(viewGroup.getContext()), 2131559920, viewGroup, false);
        n.LIZIZ(LIZ2, "");
        return LIZ2;
    }

    public final /* synthetic */ void LIZ(DaP daP) {
        AnonymousClass4P7 r11 = (AnonymousClass4P7) daP;
        M12.LIZ(r11);
        View view = this.itemView;
        CE9 findViewById = view.findViewById(2131363668);
        n.LIZIZ(findViewById, "");
        findViewById.setVisibility(8);
        Izz.LIZ(view.findViewById(2131362533), r11.LIZ.getDisplayAvatar(), "GroupListView", (J84) null, (QCT) null, 120);
        Qeg findViewById2 = view.findViewById(2131367890);
        n.LIZIZ(findViewById2, "");
        findViewById2.setText(r11.LIZ.getDisplayName());
        Qeg findViewById3 = view.findViewById(2131364052);
        n.LIZIZ(findViewById3, "");
        Context context = view.getContext();
        n.LIZIZ(context, "");
        findViewById3.setText(context.getResources().getQuantityString(2131689627, r11.LIZ.getConversationMemberCount(), new Object[]{Integer.valueOf(r11.LIZ.getConversationMemberCount())}));
        n.LIZIZ(view, "");
        AnonymousClass4PD.LIZ(view);
    }
}
