.class public Lcom/moji/member/presenter/MemberMainPresenter;
.super Lcom/moji/base/MJPresenter;
.source "MemberMainPresenter.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/moji/member/presenter/MemberMainPresenter$MemberMainCallback;
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/moji/base/MJPresenter<",
        "Lcom/moji/member/presenter/MemberMainPresenter$MemberMainCallback;",
        ">;"
    }
.end annotation


# instance fields
.field private b:Ljava/lang/String;


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

    .line 35
    invoke-direct {p0, p1}, Lcom/moji/base/MJPresenter;-><init>(Lcom/moji/base/MJPresenter$ICallback;)V

    const-string p1, "MemberMainPresenter"

    .line 33
    iput-object p1, p0, Lcom/moji/member/presenter/MemberMainPresenter;->b:Ljava/lang/String;

    return-void
.end method

.method static synthetic a(Lcom/moji/member/presenter/MemberMainPresenter;)Lcom/moji/base/MJPresenter$ICallback;
    .locals 0

    .line 32
    iget-object p0, p0, Lcom/moji/member/presenter/MemberMainPresenter;->a:Lcom/moji/base/MJPresenter$ICallback;

    return-object p0
.end method

.method static synthetic b(Lcom/moji/member/presenter/MemberMainPresenter;)Lcom/moji/base/MJPresenter$ICallback;
    .locals 0

    .line 32
    iget-object p0, p0, Lcom/moji/member/presenter/MemberMainPresenter;->a:Lcom/moji/base/MJPresenter$ICallback;

    return-object p0
.end method

.method static synthetic c(Lcom/moji/member/presenter/MemberMainPresenter;)Lcom/moji/base/MJPresenter$ICallback;
    .locals 0

    .line 32
    iget-object p0, p0, Lcom/moji/member/presenter/MemberMainPresenter;->a:Lcom/moji/base/MJPresenter$ICallback;

    return-object p0
.end method

.method static synthetic d(Lcom/moji/member/presenter/MemberMainPresenter;)Ljava/lang/String;
    .locals 0

    .line 32
    iget-object p0, p0, Lcom/moji/member/presenter/MemberMainPresenter;->b:Ljava/lang/String;

    return-object p0
.end method


# virtual methods
.method public a()V
    .locals 4

    .line 39
    invoke-static {}, Lcom/moji/areamanagement/MJAreaManager;->a()Lcom/moji/common/area/AreaInfo;

    move-result-object v0

    .line 40
    invoke-static {}, Lcom/moji/opevent/OperationEventManager;->a()Lcom/moji/opevent/OperationEventManager;

    move-result-object v1

    sget-object v2, Lcom/moji/opevent/model/OperationEventPage;->P_MEMBER:Lcom/moji/opevent/model/OperationEventPage;

    invoke-virtual {v2}, Lcom/moji/opevent/model/OperationEventPage;->getPageStr()Ljava/lang/String;

    move-result-object v2

    new-instance v3, Lcom/moji/member/presenter/MemberMainPresenter$1;

    invoke-direct {v3, p0, v0}, Lcom/moji/member/presenter/MemberMainPresenter$1;-><init>(Lcom/moji/member/presenter/MemberMainPresenter;Lcom/moji/common/area/AreaInfo;)V

    invoke-virtual {v1, v0, v2, v3}, Lcom/moji/opevent/OperationEventManager;->a(Lcom/moji/common/area/AreaInfo;Ljava/lang/String;Lcom/moji/opevent/OperationEventUpdateListener;)V

    return-void
.end method

.method public b()V
    .locals 4

    .line 75
    new-instance v0, Lcom/moji/http/ugc/account/GetInfoRequest;

    const-string v1, ""

    new-instance v2, Lcom/moji/preferences/ProcessPrefer;

    invoke-direct {v2}, Lcom/moji/preferences/ProcessPrefer;-><init>()V

    invoke-virtual {v2}, Lcom/moji/preferences/ProcessPrefer;->i()Ljava/lang/String;

    move-result-object v2

    const/4 v3, 0x1

    invoke-direct {v0, v3, v1, v2}, Lcom/moji/http/ugc/account/GetInfoRequest;-><init>(ILjava/lang/String;Ljava/lang/String;)V

    .line 76
    new-instance v1, Lcom/moji/member/presenter/MemberMainPresenter$2;

    invoke-direct {v1, p0}, Lcom/moji/member/presenter/MemberMainPresenter$2;-><init>(Lcom/moji/member/presenter/MemberMainPresenter;)V

    invoke-virtual {v0, v1}, Lcom/moji/http/ugc/account/GetInfoRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V

    return-void
.end method

.method public c()V
    .locals 2

    .line 93
    invoke-static {}, Lcom/moji/account/data/AccountProvider;->a()Lcom/moji/account/data/AccountProvider;

    move-result-object v0

    invoke-virtual {v0}, Lcom/moji/account/data/AccountProvider;->c()Lcom/moji/account/data/UserInfo;

    move-result-object v0

    .line 94
    iget-object v1, p0, Lcom/moji/member/presenter/MemberMainPresenter;->a:Lcom/moji/base/MJPresenter$ICallback;

    check-cast v1, Lcom/moji/member/presenter/MemberMainPresenter$MemberMainCallback;

    invoke-interface {v1, v0}, Lcom/moji/member/presenter/MemberMainPresenter$MemberMainCallback;->showUserInfo(Lcom/moji/account/data/UserInfo;)V

    return-void
.end method
