Weather/smali_classes3/com/moji/postcard/presenter/OrderPayPresenter$4.smali
2021-05-10 10:13:34 +02:00

83 lines
2.6 KiB
Smali

.class Lcom/moji/postcard/presenter/OrderPayPresenter$4;
.super Ljava/lang/Object;
.source "OrderPayPresenter.java"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/moji/postcard/presenter/OrderPayPresenter;->a(Landroid/app/Activity;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic a:Landroid/widget/ImageView;
.field final synthetic b:Lcom/moji/dialog/MJDialog;
.field final synthetic c:Lcom/moji/postcard/presenter/OrderPayPresenter;
# direct methods
.method constructor <init>(Lcom/moji/postcard/presenter/OrderPayPresenter;Landroid/widget/ImageView;Lcom/moji/dialog/MJDialog;)V
.locals 0
.line 78
iput-object p1, p0, Lcom/moji/postcard/presenter/OrderPayPresenter$4;->c:Lcom/moji/postcard/presenter/OrderPayPresenter;
iput-object p2, p0, Lcom/moji/postcard/presenter/OrderPayPresenter$4;->a:Landroid/widget/ImageView;
iput-object p3, p0, Lcom/moji/postcard/presenter/OrderPayPresenter$4;->b:Lcom/moji/dialog/MJDialog;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onClick(Landroid/view/View;)V
.locals 1
.line 81
iget-object p1, p0, Lcom/moji/postcard/presenter/OrderPayPresenter$4;->a:Landroid/widget/ImageView;
invoke-virtual {p1}, Landroid/widget/ImageView;->isSelected()Z
move-result p1
xor-int/lit8 p1, p1, 0x1
.line 82
iget-object v0, p0, Lcom/moji/postcard/presenter/OrderPayPresenter$4;->c:Lcom/moji/postcard/presenter/OrderPayPresenter;
invoke-static {v0}, Lcom/moji/postcard/presenter/OrderPayPresenter;->a(Lcom/moji/postcard/presenter/OrderPayPresenter;)Lcom/moji/postcard/presenter/OrderPayPresenter$OrderPayPresenterCallback;
move-result-object v0
invoke-interface {v0, p1}, Lcom/moji/postcard/presenter/OrderPayPresenter$OrderPayPresenterCallback;->selectedPayType(I)V
.line 83
iget-object p1, p0, Lcom/moji/postcard/presenter/OrderPayPresenter$4;->b:Lcom/moji/dialog/MJDialog;
invoke-virtual {p1}, Lcom/moji/dialog/MJDialog;->dismiss()V
.line 84
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
move-result-object p1
sget-object v0, Lcom/moji/statistics/EVENT_TAG;->NEWLIVEVIEW_POSTCARD_PAY_CLICK:Lcom/moji/statistics/EVENT_TAG;
invoke-virtual {p1, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;
return-void
.end method