132 lines
4.1 KiB
Smali
132 lines
4.1 KiB
Smali
.class Lcom/moji/redleaves/presenter/RedLeavesPresenter$6;
|
|
.super Ljava/lang/Object;
|
|
.source "RedLeavesPresenter.java"
|
|
|
|
# interfaces
|
|
.implements Lcom/moji/weatherprovider/update/WeatherUpdateListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/moji/redleaves/presenter/RedLeavesPresenter;->onReLocation(Lcom/moji/redleaves/event/RedLeavesReLocationEvent;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Lcom/moji/redleaves/event/RedLeavesReLocationEvent;
|
|
|
|
.field final synthetic b:Lcom/moji/redleaves/presenter/RedLeavesPresenter;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/moji/redleaves/presenter/RedLeavesPresenter;Lcom/moji/redleaves/event/RedLeavesReLocationEvent;)V
|
|
.locals 0
|
|
|
|
.line 319
|
|
iput-object p1, p0, Lcom/moji/redleaves/presenter/RedLeavesPresenter$6;->b:Lcom/moji/redleaves/presenter/RedLeavesPresenter;
|
|
|
|
iput-object p2, p0, Lcom/moji/redleaves/presenter/RedLeavesPresenter$6;->a:Lcom/moji/redleaves/event/RedLeavesReLocationEvent;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Lcom/moji/common/area/AreaInfo;Lcom/moji/location/entity/MJLocation;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Lcom/moji/common/area/AreaInfo;Lcom/moji/weatherprovider/data/Weather;)V
|
|
.locals 0
|
|
|
|
.line 322
|
|
iget-object p1, p0, Lcom/moji/redleaves/presenter/RedLeavesPresenter$6;->b:Lcom/moji/redleaves/presenter/RedLeavesPresenter;
|
|
|
|
const/4 p2, 0x0
|
|
|
|
invoke-virtual {p1, p2}, Lcom/moji/redleaves/presenter/RedLeavesPresenter;->requestNearSceneData(Lcom/moji/redleaves/event/RedLeavesRequestNearSceneEvent;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Lcom/moji/common/area/AreaInfo;Lcom/moji/weatherprovider/update/Result;)V
|
|
.locals 1
|
|
|
|
.line 332
|
|
iget-object p1, p0, Lcom/moji/redleaves/presenter/RedLeavesPresenter$6;->b:Lcom/moji/redleaves/presenter/RedLeavesPresenter;
|
|
|
|
const/4 v0, 0x1
|
|
|
|
invoke-static {p1, v0}, Lcom/moji/redleaves/presenter/RedLeavesPresenter;->a(Lcom/moji/redleaves/presenter/RedLeavesPresenter;I)Lcom/moji/redleaves/fragment/RedLeavesSceneFragment;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 334
|
|
invoke-virtual {p1, v0}, Lcom/moji/redleaves/fragment/RedLeavesSceneFragment;->b(I)V
|
|
|
|
.line 336
|
|
:cond_0
|
|
iget p1, p2, Lcom/moji/weatherprovider/update/Result;->a:I
|
|
|
|
const/16 p2, 0xe
|
|
|
|
if-ne p1, p2, :cond_2
|
|
|
|
.line 337
|
|
iget-object p1, p0, Lcom/moji/redleaves/presenter/RedLeavesPresenter$6;->a:Lcom/moji/redleaves/event/RedLeavesReLocationEvent;
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
iget-object p1, p0, Lcom/moji/redleaves/presenter/RedLeavesPresenter$6;->a:Lcom/moji/redleaves/event/RedLeavesReLocationEvent;
|
|
|
|
iget-boolean p1, p1, Lcom/moji/redleaves/event/RedLeavesReLocationEvent;->a:Z
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
return-void
|
|
|
|
.line 340
|
|
:cond_1
|
|
iget-object p1, p0, Lcom/moji/redleaves/presenter/RedLeavesPresenter$6;->b:Lcom/moji/redleaves/presenter/RedLeavesPresenter;
|
|
|
|
invoke-static {p1}, Lcom/moji/redleaves/presenter/RedLeavesPresenter;->e(Lcom/moji/redleaves/presenter/RedLeavesPresenter;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 342
|
|
:cond_2
|
|
iget-object p1, p0, Lcom/moji/redleaves/presenter/RedLeavesPresenter$6;->b:Lcom/moji/redleaves/presenter/RedLeavesPresenter;
|
|
|
|
invoke-static {p1}, Lcom/moji/redleaves/presenter/RedLeavesPresenter;->f(Lcom/moji/redleaves/presenter/RedLeavesPresenter;)Lcom/moji/base/MJPresenter$ICallback;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Lcom/moji/redleaves/callback/RedLeavesCallback;
|
|
|
|
invoke-interface {p1}, Lcom/moji/redleaves/callback/RedLeavesCallback;->getActivity()Lcom/moji/base/MJActivity;
|
|
|
|
move-result-object p1
|
|
|
|
sget p2, Lcom/moji/redleaves/R$string;->red_leaves_no_location_failed:I
|
|
|
|
invoke-static {p1, p2, v0}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Landroid/widget/Toast;->show()V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|