.class Lcom/moji/mjweather/tabme/TabMeFragment$12;
.super Ljava/lang/Object;
.source "TabMeFragment.java"

# interfaces
.implements Lcom/moji/location/MJLocationListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/tabme/TabMeFragment;->j()V
.end annotation

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


# instance fields
.field final synthetic a:Lcom/moji/mjweather/tabme/TabMeFragment;


# direct methods
.method constructor <init>(Lcom/moji/mjweather/tabme/TabMeFragment;)V
    .locals 0

    .line 911
    iput-object p1, p0, Lcom/moji/mjweather/tabme/TabMeFragment$12;->a:Lcom/moji/mjweather/tabme/TabMeFragment;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onLocateError(Lcom/moji/location/entity/MJLocation;)V
    .locals 0

    return-void
.end method

.method public onLocateSuccess(Lcom/moji/location/entity/MJLocation;)V
    .locals 5

    if-eqz p1, :cond_0

    .line 915
    iget-object v0, p0, Lcom/moji/mjweather/tabme/TabMeFragment$12;->a:Lcom/moji/mjweather/tabme/TabMeFragment;

    iget-object v1, p0, Lcom/moji/mjweather/tabme/TabMeFragment$12;->a:Lcom/moji/mjweather/tabme/TabMeFragment;

    invoke-static {v1}, Lcom/moji/mjweather/tabme/TabMeFragment;->t(Lcom/moji/mjweather/tabme/TabMeFragment;)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x2

    new-array v2, v2, [Ljava/lang/CharSequence;

    const/4 v3, 0x0

    invoke-virtual {p1}, Lcom/moji/location/entity/MJLocation;->getCity()Ljava/lang/String;

    move-result-object v4

    aput-object v4, v2, v3

    invoke-virtual {p1}, Lcom/moji/location/entity/MJLocation;->getDistrict()Ljava/lang/String;

    move-result-object v3

    const/4 v4, 0x1

    aput-object v3, v2, v4

    invoke-static {v1, v2}, Lcom/moji/tool/TextUtil;->a(Ljava/lang/String;[Ljava/lang/CharSequence;)Ljava/lang/CharSequence;

    move-result-object v1

    invoke-interface {v1}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/moji/mjweather/tabme/TabMeFragment;->a(Lcom/moji/mjweather/tabme/TabMeFragment;Ljava/lang/String;)Ljava/lang/String;

    .line 916
    iget-object v0, p0, Lcom/moji/mjweather/tabme/TabMeFragment$12;->a:Lcom/moji/mjweather/tabme/TabMeFragment;

    invoke-virtual {p1}, Lcom/moji/location/entity/MJLocation;->getMJCityID()I

    move-result p1

    iput p1, v0, Lcom/moji/mjweather/tabme/TabMeFragment;->b:I

    .line 917
    iget-object p1, p0, Lcom/moji/mjweather/tabme/TabMeFragment$12;->a:Lcom/moji/mjweather/tabme/TabMeFragment;

    invoke-static {p1, v4}, Lcom/moji/mjweather/tabme/TabMeFragment;->c(Lcom/moji/mjweather/tabme/TabMeFragment;Z)Z

    .line 918
    iget-object p1, p0, Lcom/moji/mjweather/tabme/TabMeFragment$12;->a:Lcom/moji/mjweather/tabme/TabMeFragment;

    invoke-static {p1}, Lcom/moji/mjweather/tabme/TabMeFragment;->u(Lcom/moji/mjweather/tabme/TabMeFragment;)V

    const-string p1, "lijf"

    .line 919
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "onLocateSuccess: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, p0, Lcom/moji/mjweather/tabme/TabMeFragment$12;->a:Lcom/moji/mjweather/tabme/TabMeFragment;

    invoke-static {v1}, Lcom/moji/mjweather/tabme/TabMeFragment;->v(Lcom/moji/mjweather/tabme/TabMeFragment;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

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

    .line 920
    iget-object p1, p0, Lcom/moji/mjweather/tabme/TabMeFragment$12;->a:Lcom/moji/mjweather/tabme/TabMeFragment;

    invoke-static {p1}, Lcom/moji/mjweather/tabme/TabMeFragment;->w(Lcom/moji/mjweather/tabme/TabMeFragment;)Lcom/moji/mjweather/tabme/MePresenter;

    move-result-object p1

    iget-object v0, p0, Lcom/moji/mjweather/tabme/TabMeFragment$12;->a:Lcom/moji/mjweather/tabme/TabMeFragment;

    iget v0, v0, Lcom/moji/mjweather/tabme/TabMeFragment;->b:I

    invoke-static {v0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Lcom/moji/mjweather/tabme/MePresenter;->a(Ljava/lang/String;)V

    goto :goto_0

    .line 922
    :cond_0
    invoke-virtual {p0, p1}, Lcom/moji/mjweather/tabme/TabMeFragment$12;->onLocateError(Lcom/moji/location/entity/MJLocation;)V

    :goto_0
    return-void
.end method

.method public onOtherDataReady(Lcom/moji/location/entity/MJLocation;)V
    .locals 0

    return-void
.end method
