package com.tencent.mm.plugin.fts.ui.a;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.fts.ui.a.m.a;
import com.tencent.mm.plugin.fts.ui.a.m.b;
import com.tencent.mm.plugin.fts.ui.m;
import com.tencent.mm.sdk.platformtools.bo;

public class g$a extends b {
    final /* synthetic */ g mKA;

    public g$a(g gVar) {
        this.mKA = gVar;
        super(gVar);
    }

    public final View a(Context context, ViewGroup viewGroup) {
        AppMethodBeat.i(61986);
        View inflate = LayoutInflater.from(context).inflate(2130969635, viewGroup, false);
        a aVar = this.mKA.mLb;
        aVar.ejo = (ImageView) inflate.findViewById(2131821183);
        aVar.ejp = (TextView) inflate.findViewById(2131823149);
        aVar.ene = (TextView) inflate.findViewById(2131822913);
        aVar.contentView = inflate.findViewById(2131821182);
        aVar.enf = (TextView) inflate.findViewById(2131820988);
        aVar.ejo.getLayoutParams().width = com.tencent.mm.bz.a.al(context, 2131427848);
        aVar.ejo.getLayoutParams().height = com.tencent.mm.bz.a.al(context, 2131427848);
        inflate.setTag(aVar);
        AppMethodBeat.o(61986);
        return inflate;
    }

    public final void a(Context context, com.tencent.mm.plugin.fts.a.d.a.a.a aVar, com.tencent.mm.plugin.fts.a.d.a.a aVar2, Object... objArr) {
        AppMethodBeat.i(61987);
        g gVar = (g) aVar2;
        a aVar3 = (a) aVar;
        m.p(aVar3.contentView, this.mKA.mFk);
        if (bo.isNullOrNil(gVar.hpS.talker)) {
            com.tencent.mm.pluginsdk.ui.a.b.b(aVar3.ejo, gVar.hpS.mDx);
        } else {
            com.tencent.mm.pluginsdk.ui.a.b.b(aVar3.ejo, gVar.hpS.talker);
        }
        m.a(gVar.mKz, aVar3.ejp);
        m.a(gVar.gny, aVar3.ene);
        m.a(gVar.mKZ, aVar3.enf);
        AppMethodBeat.o(61987);
    }
}
