.class Lcom/moji/mjweather/weather/WeatherPagePresenter$1;
.super Lcom/moji/requestcore/MJHttpCallback;
.source "WeatherPagePresenter.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/weather/WeatherPagePresenter;->o()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/preferences/DefaultPrefer;

.field final synthetic b:Lcom/moji/mjweather/weather/WeatherPagePresenter;


# direct methods
.method constructor <init>(Lcom/moji/mjweather/weather/WeatherPagePresenter;Lcom/moji/preferences/DefaultPrefer;)V
    .locals 0

    .line 132
    iput-object p1, p0, Lcom/moji/mjweather/weather/WeatherPagePresenter$1;->b:Lcom/moji/mjweather/weather/WeatherPagePresenter;

    iput-object p2, p0, Lcom/moji/mjweather/weather/WeatherPagePresenter$1;->a:Lcom/moji/preferences/DefaultPrefer;

    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 3

    .line 135
    invoke-static {p1}, Lcom/moji/mjweather/me/AccountUtils;->a(Lcom/moji/http/ugc/bean/account/UserInfoEntity;)Lcom/moji/account/data/UserInfo;

    move-result-object p1

    .line 136
    sget-object v0, Lcom/moji/mjweather/MJApplication;->sContext:Landroid/content/Context;

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

    move-result-object v0

    .line 137
    new-instance v1, Lcom/moji/mjweather/weather/WeatherPagePresenter$1$1;

    sget-object v2, Lcom/moji/tool/thread/ThreadPriority;->NORMAL:Lcom/moji/tool/thread/ThreadPriority;

    invoke-direct {v1, p0, v2, v0, p1}, Lcom/moji/mjweather/weather/WeatherPagePresenter$1$1;-><init>(Lcom/moji/mjweather/weather/WeatherPagePresenter$1;Lcom/moji/tool/thread/ThreadPriority;Lcom/moji/account/data/UserInfoSQLiteManager;Lcom/moji/account/data/UserInfo;)V

    sget-object p1, Lcom/moji/tool/thread/ThreadType;->NORMAL_THREAD:Lcom/moji/tool/thread/ThreadType;

    const/4 v0, 0x0

    new-array v0, v0, [Ljava/lang/Void;

    .line 158
    invoke-virtual {v1, p1, v0}, Lcom/moji/mjweather/weather/WeatherPagePresenter$1$1;->a(Lcom/moji/tool/thread/ThreadType;[Ljava/lang/Object;)Lcom/moji/tool/thread/task/MJAsyncTask;

    return-void
.end method

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

    return-void
.end method

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

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

    invoke-virtual {p0, p1}, Lcom/moji/mjweather/weather/WeatherPagePresenter$1;->a(Lcom/moji/http/ugc/bean/account/UserInfoEntity;)V

    return-void
.end method
