package defpackage;

import android.content.Context;
import android.view.View;
import android.view.Window;

/* renamed from: ᵟʿʤ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class ViewOnClickListenerC3023 implements View.OnClickListener {

    /* renamed from: ᵢˇᵭ, reason: contains not printable characters */
    public final Object f11655;

    /* renamed from: ᵧᵾˀˈ, reason: contains not printable characters */
    public final /* synthetic */ int f11656 = 1;

    /* renamed from: ᵿʗᵝʽ, reason: contains not printable characters */
    public final /* synthetic */ Object f11657;

    public ViewOnClickListenerC3023(C0062 c0062) {
        this.f11657 = c0062;
        Context context = c0062.f1272.getContext();
        CharSequence charSequence = c0062.f1279;
        C1729 c1729 = new C1729();
        c1729.f6879 = 4096;
        c1729.f6882 = 4096;
        c1729.f6881 = null;
        c1729.f6888 = null;
        c1729.f6887 = false;
        c1729.f6889 = false;
        c1729.f6880 = 16;
        c1729.f6885 = context;
        c1729.f6886 = charSequence;
        this.f11655 = c1729;
    }

    public ViewOnClickListenerC3023(C1041 c1041, C2503 c2503) {
        this.f11657 = c1041;
        this.f11655 = c2503;
    }

    @Override // android.view.View.OnClickListener
    public final void onClick(View view) {
        int i = this.f11656;
        Object obj = this.f11655;
        Object obj2 = this.f11657;
        switch (i) {
            case 0:
                C1041 c1041 = (C1041) obj2;
                if (c1041.f4531 == null) {
                    C2503 c2503 = (C2503) obj;
                    InterfaceC4191 interfaceC4191 = ((C5195) c1041.f4538.getAdapter()).f19393;
                    if (interfaceC4191 != null) {
                        interfaceC4191.mo4195(c2503.f9763);
                        break;
                    }
                }
                break;
            default:
                C0062 c0062 = (C0062) obj2;
                Window.Callback callback = c0062.f1278;
                if (callback != null && c0062.f1267) {
                    callback.onMenuItemSelected(0, (C1729) obj);
                    break;
                }
                break;
        }
    }
}
