161 lines
4.4 KiB
Smali
161 lines
4.4 KiB
Smali
.class public Lcom/moji/sakura/main/SakuraLiveViewPresenter;
|
|
.super Lcom/moji/base/MJPresenter;
|
|
.source "SakuraLiveViewPresenter.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/view/View$OnClickListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/moji/sakura/main/SakuraLiveViewPresenter$SakuraLiveViewCallBack;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/moji/base/MJPresenter<",
|
|
"Lcom/moji/sakura/main/SakuraLiveViewPresenter$SakuraLiveViewCallBack;",
|
|
">;",
|
|
"Landroid/view/View$OnClickListener;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private b:Lcom/moji/http/snsforum/entity/WaterFallPictureResult;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/moji/sakura/main/SakuraLiveViewPresenter$SakuraLiveViewCallBack;)V
|
|
.locals 0
|
|
|
|
.line 23
|
|
invoke-direct {p0, p1}, Lcom/moji/base/MJPresenter;-><init>(Lcom/moji/base/MJPresenter$ICallback;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic a(Lcom/moji/sakura/main/SakuraLiveViewPresenter;)Lcom/moji/base/MJPresenter$ICallback;
|
|
.locals 0
|
|
|
|
.line 20
|
|
iget-object p0, p0, Lcom/moji/sakura/main/SakuraLiveViewPresenter;->a:Lcom/moji/base/MJPresenter$ICallback;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method static synthetic a(Lcom/moji/sakura/main/SakuraLiveViewPresenter;Lcom/moji/http/snsforum/entity/WaterFallPictureResult;)Lcom/moji/http/snsforum/entity/WaterFallPictureResult;
|
|
.locals 0
|
|
|
|
.line 20
|
|
iput-object p1, p0, Lcom/moji/sakura/main/SakuraLiveViewPresenter;->b:Lcom/moji/http/snsforum/entity/WaterFallPictureResult;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method static synthetic b(Lcom/moji/sakura/main/SakuraLiveViewPresenter;)Lcom/moji/base/MJPresenter$ICallback;
|
|
.locals 0
|
|
|
|
.line 20
|
|
iget-object p0, p0, Lcom/moji/sakura/main/SakuraLiveViewPresenter;->a:Lcom/moji/base/MJPresenter$ICallback;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method static synthetic c(Lcom/moji/sakura/main/SakuraLiveViewPresenter;)Lcom/moji/base/MJPresenter$ICallback;
|
|
.locals 0
|
|
|
|
.line 20
|
|
iget-object p0, p0, Lcom/moji/sakura/main/SakuraLiveViewPresenter;->a:Lcom/moji/base/MJPresenter$ICallback;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Ljava/lang/Object;Landroid/content/Context;)V
|
|
.locals 5
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 54
|
|
instance-of v0, p1, Lcom/moji/sakura/main/data/LiveViewData;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 57
|
|
:cond_0
|
|
check-cast p1, Lcom/moji/sakura/main/data/LiveViewData;
|
|
|
|
.line 58
|
|
new-instance v0, Landroid/content/Intent;
|
|
|
|
invoke-direct {v0}, Landroid/content/Intent;-><init>()V
|
|
|
|
.line 59
|
|
new-instance v1, Landroid/os/Bundle;
|
|
|
|
const/4 v2, 0x5
|
|
|
|
invoke-direct {v1, v2}, Landroid/os/Bundle;-><init>(I)V
|
|
|
|
.line 60
|
|
new-instance v2, Landroid/content/ComponentName;
|
|
|
|
const-string v3, "com.moji.newliveview.detail.PictureDetailActivity"
|
|
|
|
invoke-direct {v2, p2, v3}, Landroid/content/ComponentName;-><init>(Landroid/content/Context;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0, v2}, Landroid/content/Intent;->setComponent(Landroid/content/ComponentName;)Landroid/content/Intent;
|
|
|
|
const-string v2, "extra_data_picture_id"
|
|
|
|
.line 61
|
|
iget-wide v3, p1, Lcom/moji/sakura/main/data/LiveViewData;->c:J
|
|
|
|
invoke-virtual {v1, v2, v3, v4}, Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V
|
|
|
|
const-string v2, "extra_data_picture_url"
|
|
|
|
.line 62
|
|
iget-object v3, p1, Lcom/moji/sakura/main/data/LiveViewData;->d:Ljava/lang/String;
|
|
|
|
invoke-virtual {v1, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
const-string v2, "extra_data_picture_width"
|
|
|
|
.line 63
|
|
iget v3, p1, Lcom/moji/sakura/main/data/LiveViewData;->e:I
|
|
|
|
invoke-virtual {v1, v2, v3}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
|
|
|
|
const-string v2, "extra_data_picture_height"
|
|
|
|
.line 64
|
|
iget p1, p1, Lcom/moji/sakura/main/data/LiveViewData;->f:I
|
|
|
|
invoke-virtual {v1, v2, p1}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
|
|
|
|
.line 65
|
|
invoke-virtual {v0, v1}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;
|
|
|
|
.line 66
|
|
invoke-virtual {p2, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public onClick(Landroid/view/View;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|