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

import android.view.View;
import android.view.View.OnClickListener;
import com.tencent.matrix.trace.core.AppMethodBeat;

class MallProductSelectAmountView$2 implements OnClickListener {
    final /* synthetic */ MallProductSelectAmountView pjl;

    MallProductSelectAmountView$2(MallProductSelectAmountView mallProductSelectAmountView) {
        this.pjl = mallProductSelectAmountView;
    }

    public final void onClick(View view) {
        AppMethodBeat.i(44096);
        if (MallProductSelectAmountView.a(this.pjl) - 1 < MallProductSelectAmountView.h(this.pjl)) {
            if (MallProductSelectAmountView.c(this.pjl) != null) {
                MallProductSelectAmountView.c(this.pjl).eZ(MallProductSelectAmountView.a(this.pjl), 2);
            }
            AppMethodBeat.o(44096);
            return;
        }
        MallProductSelectAmountView.i(this.pjl);
        if (MallProductSelectAmountView.f(this.pjl)) {
            MallProductSelectAmountView.g(this.pjl).setText(MallProductSelectAmountView.a(this.pjl));
        }
        MallProductSelectAmountView.f(this.pjl);
        if (MallProductSelectAmountView.c(this.pjl) != null) {
            MallProductSelectAmountView.c(this.pjl).gF(MallProductSelectAmountView.a(this.pjl));
        }
        AppMethodBeat.o(44096);
    }
}
