package com.tencent.mm.plugin.ipcall.ui;

import android.content.Intent;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.bp.d;
import com.tencent.mm.plugin.ipcall.a.g.g;
import com.tencent.mm.plugin.report.service.h;
import com.tencent.mm.sdk.platformtools.bo;

class IPCallMsgUI$4 implements OnItemClickListener {
    final /* synthetic */ IPCallMsgUI nDt;

    IPCallMsgUI$4(IPCallMsgUI iPCallMsgUI) {
        this.nDt = iPCallMsgUI;
    }

    public final void onItemClick(AdapterView<?> adapterView, View view, int i, long j) {
        AppMethodBeat.i(22189);
        g gVar = (g) IPCallMsgUI.b(this.nDt).getItem(i);
        if (!bo.isNullOrNil(gVar.field_descUrl)) {
            int i2 = gVar.field_msgType;
            h.pYm.e(13780, new Object[]{Integer.valueOf(i2)});
            Intent intent = new Intent();
            intent.putExtra("rawUrl", gVar.field_descUrl);
            intent.putExtra("showShare", false);
            d.b(this.nDt, "webview", ".ui.tools.WebViewUI", intent);
        }
        AppMethodBeat.o(22189);
    }
}
