g.smali

.class Lcom/sandboxol/blockymods/view/fragment/secretemailverify/g;
.super Lcom/sandboxol/common/base/web/OnResponseListener;
.source "SecretEmailVerifyViewModel.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/sandboxol/blockymods/view/fragment/secretemailverify/j;->j()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/sandboxol/blockymods/view/fragment/secretemailverify/j;


# direct methods
.method constructor <init>(Lcom/sandboxol/blockymods/view/fragment/secretemailverify/j;)V
    .registers 2

    .line 1
    iput-object p1, p0, Lcom/sandboxol/blockymods/view/fragment/secretemailverify/g;->a:Lcom/sandboxol/blockymods/view/fragment/secretemailverify/j;

    invoke-direct {p0}, Lcom/sandboxol/common/base/web/OnResponseListener;-><init>()V

    return-void
.end method


# virtual methods
.method public onError(ILjava/lang/String;)V
    .registers 3

    .line 1
    iget-object p2, p0, Lcom/sandboxol/blockymods/view/fragment/secretemailverify/g;->a:Lcom/sandboxol/blockymods/view/fragment/secretemailverify/j;

    invoke-static {p2}, Lcom/sandboxol/blockymods/view/fragment/secretemailverify/j;->a(Lcom/sandboxol/blockymods/view/fragment/secretemailverify/j;)Landroid/content/Context;

    move-result-object p2

    invoke-static {p2, p1}, Lcom/sandboxol/blockymods/web/error/BindOnError;->showErrorTip(Landroid/content/Context;I)V

    return-void
.end method

.method public onServerError(I)V
    .registers 3

    .line 1
    iget-object v0, p0, Lcom/sandboxol/blockymods/view/fragment/secretemailverify/g;->a:Lcom/sandboxol/blockymods/view/fragment/secretemailverify/j;

    invoke-static {v0}, Lcom/sandboxol/blockymods/view/fragment/secretemailverify/j;->a(Lcom/sandboxol/blockymods/view/fragment/secretemailverify/j;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0, p1}, Lcom/sandboxol/common/web/error/ServerOnError;->showOnServerError(Landroid/content/Context;I)V

    return-void
.end method

.method public onSuccess(Ljava/lang/Object;)V
    .registers 3

    .line 1
    iget-object p1, p0, Lcom/sandboxol/blockymods/view/fragment/secretemailverify/g;->a:Lcom/sandboxol/blockymods/view/fragment/secretemailverify/j;

    invoke-static {p1}, Lcom/sandboxol/blockymods/view/fragment/secretemailverify/j;->a(Lcom/sandboxol/blockymods/view/fragment/secretemailverify/j;)Landroid/content/Context;

    move-result-object p1

    const v0, 0x7f1201f5

    invoke-static {p1, v0}, Lcom/sandboxol/common/utils/AppToastUtils;->showShortPositiveTipToast(Landroid/content/Context;I)V

    return-void
.end method