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

import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.kernel.g;
import com.tencent.mm.plugin.offline.c.a;
import com.tencent.mm.plugin.offline.ui.c.10;
import com.tencent.mm.plugin.offline.ui.c.7;
import com.tencent.mm.plugin.offline.ui.c.9;
import com.tencent.mm.plugin.walletlock.a.b;
import com.tencent.mm.ui.base.h;
import com.tencent.mm.ui.base.h.c;
import com.tencent.ytcommon.BuildConfig;

class WalletOfflineCoinPurseUI$16 implements c {
    final /* synthetic */ WalletOfflineCoinPurseUI pav;

    WalletOfflineCoinPurseUI$16(WalletOfflineCoinPurseUI walletOfflineCoinPurseUI) {
        this.pav = walletOfflineCoinPurseUI;
    }

    public final void iE(int i) {
        AppMethodBeat.i(43522);
        switch (i) {
            case 0:
                a.eH(this.pav);
                AppMethodBeat.o(43522);
                return;
            case 1:
                c z = WalletOfflineCoinPurseUI.z(this.pav);
                if (((b) g.K(b.class)).cTj()) {
                    h.d(z.mActivity, z.getString(2131305441), BuildConfig.FLAVOR, z.getString(2131305440), z.getString(2131296868), new 9(z), new 10(z));
                    break;
                }
                h.d(z.mActivity, z.getString(2131305443), BuildConfig.FLAVOR, z.getString(2131305478), z.getString(2131305440), new 7(z), new OnClickListener() {
                    public final void onClick(DialogInterface dialogInterface, int i) {
                        AppMethodBeat.i(43478);
                        dialogInterface.dismiss();
                        a.bYo();
                        h.bQ(c.this.mActivity, c.this.mActivity.getResources().getString(2131305444));
                        c.a(c.this);
                        AppMethodBeat.o(43478);
                    }
                });
                AppMethodBeat.o(43522);
                return;
        }
        AppMethodBeat.o(43522);
    }
}
