.class Lcom/moji/member/presenter/MemberOrderPresenter$12;
.super Lcom/moji/requestcore/MJHttpCallback;
.source "MemberOrderPresenter.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/member/presenter/MemberOrderPresenter;->c()V
.end annotation

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/moji/requestcore/MJHttpCallback<",
        "Lcom/moji/http/ugc/bean/account/UserInfoEntity;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/moji/member/presenter/MemberOrderPresenter;


# direct methods
.method constructor <init>(Lcom/moji/member/presenter/MemberOrderPresenter;)V
    .locals 0

    .line 311
    iput-object p1, p0, Lcom/moji/member/presenter/MemberOrderPresenter$12;->a:Lcom/moji/member/presenter/MemberOrderPresenter;

    invoke-direct {p0}, Lcom/moji/requestcore/MJHttpCallback;-><init>()V

    return-void
.end method


# virtual methods
.method protected a(Lcom/moji/http/ugc/bean/account/UserInfoEntity;)V
    .locals 1

    .line 314
    invoke-static {}, Lcom/moji/member/helper/MemberCommonHelper;->a()Lcom/moji/member/helper/MemberCommonHelper;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/moji/member/helper/MemberCommonHelper;->a(Lcom/moji/http/ugc/bean/account/UserInfoEntity;)Lcom/moji/account/data/UserInfo;

    move-result-object p1

    .line 315
    invoke-static {}, Lcom/moji/tool/AppDelegate;->a()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/moji/account/data/UserInfoSQLiteManager;->a(Landroid/content/Context;)Lcom/moji/account/data/UserInfoSQLiteManager;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/moji/account/data/UserInfoSQLiteManager;->a(Lcom/moji/account/data/UserInfo;)V

    .line 316
    iget-object v0, p0, Lcom/moji/member/presenter/MemberOrderPresenter$12;->a:Lcom/moji/member/presenter/MemberOrderPresenter;

    invoke-static {v0}, Lcom/moji/member/presenter/MemberOrderPresenter;->i(Lcom/moji/member/presenter/MemberOrderPresenter;)Lcom/moji/base/MJPresenter$ICallback;

    move-result-object v0

    check-cast v0, Lcom/moji/member/presenter/MemberOrderPresenter$MemberCallback;

    invoke-interface {v0, p1}, Lcom/moji/member/presenter/MemberOrderPresenter$MemberCallback;->showUserInfo(Lcom/moji/account/data/UserInfo;)V

    const-string v0, "MemberOrderPresenter"

    .line 317
    invoke-virtual {p1}, Lcom/moji/account/data/UserInfo;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {v0, p1}, Lcom/moji/tool/log/MJLogger;->c(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method protected onFailed(Lcom/moji/requestcore/MJException;)V
    .locals 2

    .line 322
    iget-object v0, p0, Lcom/moji/member/presenter/MemberOrderPresenter$12;->a:Lcom/moji/member/presenter/MemberOrderPresenter;

    invoke-static {v0}, Lcom/moji/member/presenter/MemberOrderPresenter;->j(Lcom/moji/member/presenter/MemberOrderPresenter;)Lcom/moji/base/MJPresenter$ICallback;

    move-result-object v0

    check-cast v0, Lcom/moji/member/presenter/MemberOrderPresenter$MemberCallback;

    invoke-interface {v0}, Lcom/moji/member/presenter/MemberOrderPresenter$MemberCallback;->updateUserInfoFailed()V

    const-string v0, "MemberOrderPresenter"

    const-string v1, "updateUserInfo:"

    .line 323
    invoke-static {v0, v1, p1}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V

    return-void
.end method

.method protected synthetic onSuccess(Ljava/lang/Object;)V
    .locals 0

    .line 311
    check-cast p1, Lcom/moji/http/ugc/bean/account/UserInfoEntity;

    invoke-virtual {p0, p1}, Lcom/moji/member/presenter/MemberOrderPresenter$12;->a(Lcom/moji/http/ugc/bean/account/UserInfoEntity;)V

    return-void
.end method
