.class Lcom/moji/mjsnowmodule/presenter/SnowPoiKeywordSearchPresenter$1;
.super Ljava/lang/Object;
.source "SnowPoiKeywordSearchPresenter.java"

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


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjsnowmodule/presenter/SnowPoiKeywordSearchPresenter;-><init>(Lcom/moji/mjsnowmodule/presenter/SnowPoiKeywordSearchPresenter$SnowPKSearchCallback;)V
.end annotation

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


# instance fields
.field final synthetic a:Lcom/moji/mjsnowmodule/presenter/SnowPoiKeywordSearchPresenter;


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

    .line 46
    iput-object p1, p0, Lcom/moji/mjsnowmodule/presenter/SnowPoiKeywordSearchPresenter$1;->a:Lcom/moji/mjsnowmodule/presenter/SnowPoiKeywordSearchPresenter;

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

    return-void
.end method


# virtual methods
.method public a(Lcom/moji/location/geo/MJReGeoCodeResult;I)V
    .locals 1

    const/16 v0, 0x3e8

    if-ne p2, v0, :cond_1

    if-nez p1, :cond_0

    goto :goto_0

    .line 53
    :cond_0
    iget-object v0, p0, Lcom/moji/mjsnowmodule/presenter/SnowPoiKeywordSearchPresenter$1;->a:Lcom/moji/mjsnowmodule/presenter/SnowPoiKeywordSearchPresenter;

    invoke-static {v0}, Lcom/moji/mjsnowmodule/presenter/SnowPoiKeywordSearchPresenter;->b(Lcom/moji/mjsnowmodule/presenter/SnowPoiKeywordSearchPresenter;)Lcom/moji/base/MJPresenter$ICallback;

    move-result-object v0

    check-cast v0, Lcom/moji/mjsnowmodule/presenter/SnowPoiKeywordSearchPresenter$SnowPKSearchCallback;

    invoke-interface {v0, p1, p2}, Lcom/moji/mjsnowmodule/presenter/SnowPoiKeywordSearchPresenter$SnowPKSearchCallback;->onGeoSuccess(Lcom/moji/location/geo/MJReGeoCodeResult;I)V

    return-void

    .line 50
    :cond_1
    :goto_0
    iget-object p1, p0, Lcom/moji/mjsnowmodule/presenter/SnowPoiKeywordSearchPresenter$1;->a:Lcom/moji/mjsnowmodule/presenter/SnowPoiKeywordSearchPresenter;

    invoke-static {p1}, Lcom/moji/mjsnowmodule/presenter/SnowPoiKeywordSearchPresenter;->a(Lcom/moji/mjsnowmodule/presenter/SnowPoiKeywordSearchPresenter;)Lcom/moji/base/MJPresenter$ICallback;

    move-result-object p1

    check-cast p1, Lcom/moji/mjsnowmodule/presenter/SnowPoiKeywordSearchPresenter$SnowPKSearchCallback;

    invoke-interface {p1}, Lcom/moji/mjsnowmodule/presenter/SnowPoiKeywordSearchPresenter$SnowPKSearchCallback;->onGeoFail()V

    return-void
.end method
