package com.tencent.mm.plugin.card.ui.v2;

import a.l;
import android.content.Context;
import android.view.View;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.appbrand.widget.recyclerview.MRecyclerView$b;
import com.tencent.mm.sdk.platformtools.ab;
import com.tencent.mm.ui.base.n.c;
import com.tencent.mm.ui.base.n.d;
import com.tencent.mm.ui.tools.j;

@l(dWo = {1, 1, 13}, dWp = {"\u0000\"\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\t\n\u0000\u0010\u0000\u001a\u00020\u00012\u000e\u0010\u0002\u001a\n \u0004*\u0004\u0018\u00010\u00030\u00032\u000e\u0010\u0005\u001a\n \u0004*\u0004\u0018\u00010\u00060\u00062\u0006\u0010\u0007\u001a\u00020\b2\u0006\u0010\t\u001a\u00020\nH\n¢\u0006\u0002\b\u000b"}, dWq = {"<anonymous>", "", "parent", "Landroid/support/v7/widget/RecyclerView;", "kotlin.jvm.PlatformType", "view", "Landroid/view/View;", "position", "", "id", "", "onItemLongClick"})
final class CardInvalidTicketListUI$g implements MRecyclerView$b {
    final /* synthetic */ CardInvalidTicketListUI kpK;

    CardInvalidTicketListUI$g(CardInvalidTicketListUI cardInvalidTicketListUI) {
        this.kpK = cardInvalidTicketListUI;
    }

    public final boolean L(View view, int i) {
        AppMethodBeat.i(89258);
        ab.i("MicroMsg.CardInvalidTicketListUI", "long click item");
        d tl = this.kpK.bem().tl(i);
        if (tl != null) {
            switch (tl.type) {
                case 2:
                    j jVar = new j((Context) this.kpK.dxU());
                    jVar.a((c) new a(this, tl));
                    jVar.a((d) new b(this, tl));
                    jVar.cuu();
                    break;
            }
        }
        AppMethodBeat.o(89258);
        return false;
    }
}
