114 lines
3.5 KiB
Smali
114 lines
3.5 KiB
Smali
.class Lcom/moji/user/message/old/MsgDetailAdapter$1;
|
|
.super Ljava/lang/Object;
|
|
.source "MsgDetailAdapter.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/view/View$OnClickListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/moji/user/message/old/MsgDetailAdapter;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Lcom/moji/http/ugc/bean/MsgInfo;
|
|
|
|
.field final synthetic b:Lcom/moji/user/message/old/MsgDetailAdapter;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/moji/user/message/old/MsgDetailAdapter;Lcom/moji/http/ugc/bean/MsgInfo;)V
|
|
.locals 0
|
|
|
|
.line 115
|
|
iput-object p1, p0, Lcom/moji/user/message/old/MsgDetailAdapter$1;->b:Lcom/moji/user/message/old/MsgDetailAdapter;
|
|
|
|
iput-object p2, p0, Lcom/moji/user/message/old/MsgDetailAdapter$1;->a:Lcom/moji/http/ugc/bean/MsgInfo;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onClick(Landroid/view/View;)V
|
|
.locals 4
|
|
|
|
.line 120
|
|
:try_start_0
|
|
iget-object p1, p0, Lcom/moji/user/message/old/MsgDetailAdapter$1;->a:Lcom/moji/http/ugc/bean/MsgInfo;
|
|
|
|
iget-object p1, p1, Lcom/moji/http/ugc/bean/MsgInfo;->pic_id:Ljava/lang/String;
|
|
|
|
invoke-static {p1}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J
|
|
|
|
move-result-wide v0
|
|
:try_end_0
|
|
.catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
const-wide/16 v0, 0x0
|
|
|
|
.line 124
|
|
:goto_0
|
|
new-instance p1, Landroid/content/Intent;
|
|
|
|
iget-object v2, p0, Lcom/moji/user/message/old/MsgDetailAdapter$1;->b:Lcom/moji/user/message/old/MsgDetailAdapter;
|
|
|
|
invoke-static {v2}, Lcom/moji/user/message/old/MsgDetailAdapter;->a(Lcom/moji/user/message/old/MsgDetailAdapter;)Landroid/content/Context;
|
|
|
|
move-result-object v2
|
|
|
|
const-class v3, Lcom/moji/newliveview/detail/PictureDetailActivity;
|
|
|
|
invoke-direct {p1, v2, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
|
|
|
|
const-string v2, "extra_data_picture_id"
|
|
|
|
.line 125
|
|
invoke-virtual {p1, v2, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;J)Landroid/content/Intent;
|
|
|
|
const-string v0, "extra_data_picture_url"
|
|
|
|
const-string v1, ""
|
|
|
|
.line 126
|
|
invoke-virtual {p1, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
|
|
|
|
.line 127
|
|
iget-object v0, p0, Lcom/moji/user/message/old/MsgDetailAdapter$1;->b:Lcom/moji/user/message/old/MsgDetailAdapter;
|
|
|
|
invoke-static {v0}, Lcom/moji/user/message/old/MsgDetailAdapter;->a(Lcom/moji/user/message/old/MsgDetailAdapter;)Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
|
|
|
|
.line 128
|
|
iget-object p1, p0, Lcom/moji/user/message/old/MsgDetailAdapter$1;->b:Lcom/moji/user/message/old/MsgDetailAdapter;
|
|
|
|
invoke-static {p1}, Lcom/moji/user/message/old/MsgDetailAdapter;->a(Lcom/moji/user/message/old/MsgDetailAdapter;)Landroid/content/Context;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/app/Activity;
|
|
|
|
sget v0, Lcom/moji/base/R$anim;->activity_open_right_in:I
|
|
|
|
sget v1, Lcom/moji/base/R$anim;->activity_open_right_out:I
|
|
|
|
invoke-virtual {p1, v0, v1}, Landroid/app/Activity;->overridePendingTransition(II)V
|
|
|
|
return-void
|
|
.end method
|