Weather/smali_classes3/com/moji/user/message/fragment/MsgLiveViewCommentFragment.smali
2021-05-10 10:13:34 +02:00

754 lines
23 KiB
Smali

.class public Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;
.super Lcom/moji/user/message/fragment/BaseMsgFragment;
.source "MsgLiveViewCommentFragment.java"
# interfaces
.implements Lcom/moji/user/message/IMsgDetailCallBack;
.implements Lcom/moji/user/message/presenter/MsgBasePresenter$NewMessageCallBack;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/moji/user/message/fragment/BaseMsgFragment<",
"Lcom/moji/user/message/presenter/MsgCommentPresenter;",
">;",
"Lcom/moji/user/message/IMsgDetailCallBack<",
"Lcom/moji/http/message/bean/CommentMsgResp$CommentMsg;",
">;",
"Lcom/moji/user/message/presenter/MsgBasePresenter$NewMessageCallBack;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 40
invoke-direct {p0}, Lcom/moji/user/message/fragment/BaseMsgFragment;-><init>()V
return-void
.end method
.method private a(Lcom/moji/http/message/bean/CommentMsgResp$CommentMsg;)V
.locals 14
.line 115
iget-object v0, p1, Lcom/moji/http/message/bean/CommentMsgResp$CommentMsg;->inputComment:Ljava/lang/String;
invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-nez v0, :cond_2
.line 116
iget-wide v0, p1, Lcom/moji/http/message/bean/CommentMsgResp$CommentMsg;->comment_id:J
const-wide/16 v2, -0x1
const-wide/16 v4, 0x0
cmp-long v6, v0, v4
if-nez v6, :cond_0
move-wide v9, v2
goto :goto_0
:cond_0
iget-wide v0, p1, Lcom/moji/http/message/bean/CommentMsgResp$CommentMsg;->comment_id:J
move-wide v9, v0
.line 117
:goto_0
iget-wide v0, p1, Lcom/moji/http/message/bean/CommentMsgResp$CommentMsg;->reply_id:J
cmp-long v6, v0, v4
if-nez v6, :cond_1
:goto_1
move-wide v11, v2
goto :goto_2
:cond_1
iget-wide v2, p1, Lcom/moji/http/message/bean/CommentMsgResp$CommentMsg;->reply_id:J
goto :goto_1
.line 118
:goto_2
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
iget-wide v1, p1, Lcom/moji/http/message/bean/CommentMsgResp$CommentMsg;->target_id:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string 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 v8
iget-object v13, p1, Lcom/moji/http/message/bean/CommentMsgResp$CommentMsg;->inputComment:Ljava/lang/String;
move-object v6, p0
move-object v7, p1
invoke-virtual/range {v6 .. v13}, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->a(Lcom/moji/http/message/bean/CommentMsgResp$CommentMsg;Ljava/lang/String;JJLjava/lang/String;)V
goto :goto_3
.line 120
:cond_2
sget p1, Lcom/moji/newliveview/R$string;->input_empty:I
invoke-static {p1}, Lcom/moji/tool/ToastTool;->a(I)V
:goto_3
return-void
.end method
.method static synthetic a(Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;Lcom/moji/http/message/bean/CommentMsgResp$CommentMsg;)V
.locals 0
.line 40
invoke-direct {p0, p1}, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->b(Lcom/moji/http/message/bean/CommentMsgResp$CommentMsg;)V
return-void
.end method
.method private b(Lcom/moji/http/message/bean/CommentMsgResp$CommentMsg;)V
.locals 4
.line 158
new-instance v0, Landroid/content/Intent;
invoke-virtual {p0}, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;
move-result-object v1
const-class v2, Lcom/moji/newliveview/detail/PictureDetailActivity;
invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
const-string v1, "extra_data_picture_id"
.line 159
iget-wide v2, p1, Lcom/moji/http/message/bean/CommentMsgResp$CommentMsg;->target_id:J
invoke-virtual {v0, v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;J)Landroid/content/Intent;
const-string v1, "extra_data_picture_url"
.line 160
iget-object v2, p1, Lcom/moji/http/message/bean/CommentMsgResp$CommentMsg;->path:Ljava/lang/String;
invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
const-string v1, "key_from_message_comment"
const/4 v2, 0x1
.line 161
invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
.line 162
invoke-virtual {p0}, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;
move-result-object v1
invoke-virtual {v1, v0}, Landroid/support/v4/app/FragmentActivity;->startActivity(Landroid/content/Intent;)V
.line 163
invoke-virtual {p0}, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;
move-result-object v0
sget v1, Lcom/moji/base/R$anim;->activity_open_right_in:I
sget v2, Lcom/moji/base/R$anim;->activity_open_right_out:I
invoke-virtual {v0, v1, v2}, Landroid/support/v4/app/FragmentActivity;->overridePendingTransition(II)V
const/4 v0, 0x2
.line 164
iput v0, p1, Lcom/moji/http/message/bean/CommentMsgResp$CommentMsg;->is_read:I
.line 165
iget-object p1, p0, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->e:Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;
invoke-virtual {p1}, Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;->c()V
return-void
.end method
# virtual methods
.method public a(ILcom/moji/http/message/bean/CommentMsgResp$CommentMsg;)V
.locals 3
const/4 v0, 0x1
if-ne p1, v0, :cond_0
.line 172
invoke-static {}, Lcom/moji/account/data/AccountProvider;->a()Lcom/moji/account/data/AccountProvider;
move-result-object p1
invoke-virtual {p0}, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;
move-result-object v0
iget-wide v1, p2, Lcom/moji/http/message/bean/CommentMsgResp$CommentMsg;->sns_id:J
invoke-static {v1, v2}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;
move-result-object p2
invoke-virtual {p1, v0, p2}, Lcom/moji/account/data/AccountProvider;->a(Landroid/content/Context;Ljava/lang/String;)V
return-void
.line 175
:cond_0
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
move-result-object p1
sget-object v0, Lcom/moji/statistics/EVENT_TAG;->ME_NEWS_TIMELINE_DETAIL_COMMENT_CLICK:Lcom/moji/statistics/EVENT_TAG;
invoke-virtual {p1, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;
.line 177
iget p1, p2, Lcom/moji/http/message/bean/CommentMsgResp$CommentMsg;->type:I
const/4 v0, 0x3
if-eq p1, v0, :cond_2
iget p1, p2, Lcom/moji/http/message/bean/CommentMsgResp$CommentMsg;->type:I
const/4 v0, 0x4
if-ne p1, v0, :cond_1
goto :goto_0
.line 182
:cond_1
new-instance p1, Landroid/content/Intent;
invoke-virtual {p0}, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;
move-result-object v0
const-class v1, Lcom/moji/newliveview/dynamic/DynamicCommentActivity;
invoke-direct {p1, v0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
const-string v0, "dynamic_id"
.line 183
iget-wide v1, p2, Lcom/moji/http/message/bean/CommentMsgResp$CommentMsg;->target_id:J
invoke-virtual {p1, v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;J)Landroid/content/Intent;
goto :goto_1
.line 178
:cond_2
:goto_0
new-instance p1, Landroid/content/Intent;
invoke-virtual {p0}, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;
move-result-object v0
const-class v1, Lcom/moji/newliveview/detail/PictureDetailActivity;
invoke-direct {p1, v0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
const-string v0, "extra_data_picture_id"
.line 179
iget-wide v1, p2, Lcom/moji/http/message/bean/CommentMsgResp$CommentMsg;->target_id:J
invoke-virtual {p1, v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;J)Landroid/content/Intent;
const-string v0, "extra_data_picture_url"
.line 180
iget-object v1, p2, Lcom/moji/http/message/bean/CommentMsgResp$CommentMsg;->path:Ljava/lang/String;
invoke-virtual {p1, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
.line 185
:goto_1
invoke-virtual {p0}, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;
move-result-object v0
invoke-virtual {v0, p1}, Landroid/support/v4/app/FragmentActivity;->startActivity(Landroid/content/Intent;)V
.line 186
invoke-virtual {p0}, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;
move-result-object p1
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/support/v4/app/FragmentActivity;->overridePendingTransition(II)V
const/4 p1, 0x2
.line 189
iput p1, p2, Lcom/moji/http/message/bean/CommentMsgResp$CommentMsg;->is_read:I
.line 190
iget-object p1, p0, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->e:Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;
invoke-virtual {p1}, Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;->c()V
return-void
.end method
.method public bridge synthetic a(ILjava/lang/Object;)V
.locals 0
.line 40
check-cast p2, Lcom/moji/http/message/bean/CommentMsgResp$CommentMsg;
invoke-virtual {p0, p1, p2}, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->a(ILcom/moji/http/message/bean/CommentMsgResp$CommentMsg;)V
return-void
.end method
.method public a(Lcom/moji/http/message/bean/CommentMsgResp$CommentMsg;Ljava/lang/String;JJLjava/lang/String;)V
.locals 10
.line 127
new-instance v9, Lcom/moji/http/snsforum/AddPictureCommentRequest;
invoke-static {}, Lcom/moji/newliveview/base/utils/GlobalUtils;->b()I
move-result v7
invoke-static {}, Lcom/moji/newliveview/base/utils/GlobalUtils;->a()Ljava/lang/String;
move-result-object v8
move-object v0, v9
move-object v1, p2
move-wide v2, p3
move-wide v4, p5
move-object/from16 v6, p7
invoke-direct/range {v0 .. v8}, Lcom/moji/http/snsforum/AddPictureCommentRequest;-><init>(Ljava/lang/String;JJLjava/lang/String;ILjava/lang/String;)V
.line 128
new-instance v0, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment$4;
move-object v1, p0
move-object v2, p1
invoke-direct {v0, p0, p1}, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment$4;-><init>(Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;Lcom/moji/http/message/bean/CommentMsgResp$CommentMsg;)V
invoke-virtual {v9, v0}, Lcom/moji/http/snsforum/AddPictureCommentRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V
return-void
.end method
.method public a(Lcom/moji/newliveview/dynamic/base/BaseCell;)V
.locals 2
.line 63
iget-object v0, p0, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->g:Lcom/moji/user/message/NewMsgDialog;
if-nez v0, :cond_0
.line 64
new-instance v0, Lcom/moji/user/message/NewMsgDialog;
invoke-virtual {p0}, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;
move-result-object v1
invoke-direct {v0, v1}, Lcom/moji/user/message/NewMsgDialog;-><init>(Landroid/content/Context;)V
iput-object v0, p0, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->g:Lcom/moji/user/message/NewMsgDialog;
.line 66
:cond_0
iget-object v0, p0, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->g:Lcom/moji/user/message/NewMsgDialog;
iget-object v0, v0, Lcom/moji/user/message/NewMsgDialog;->c:Landroid/widget/TextView;
new-instance v1, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment$1;
invoke-direct {v1, p0}, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment$1;-><init>(Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;)V
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
.line 72
iget-object v0, p0, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->g:Lcom/moji/user/message/NewMsgDialog;
iget-object v0, v0, Lcom/moji/user/message/NewMsgDialog;->b:Landroid/widget/TextView;
new-instance v1, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment$2;
invoke-direct {v1, p0, p1}, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment$2;-><init>(Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;Lcom/moji/newliveview/dynamic/base/BaseCell;)V
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
.line 79
iget-object v0, p0, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->g:Lcom/moji/user/message/NewMsgDialog;
invoke-virtual {v0}, Lcom/moji/user/message/NewMsgDialog;->a()V
.line 80
iget-object v0, p0, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->g:Lcom/moji/user/message/NewMsgDialog;
iget-object v0, v0, Lcom/moji/user/message/NewMsgDialog;->d:Landroid/widget/TextView;
new-instance v1, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment$3;
invoke-direct {v1, p0, p1}, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment$3;-><init>(Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;Lcom/moji/newliveview/dynamic/base/BaseCell;)V
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
.line 94
iget-object p1, p0, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->g:Lcom/moji/user/message/NewMsgDialog;
iget-object p1, p1, Lcom/moji/user/message/NewMsgDialog;->a:Landroid/app/Dialog;
invoke-virtual {p1}, Landroid/app/Dialog;->show()V
return-void
.end method
.method public a(Ljava/util/ArrayList;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/ArrayList<",
"Lcom/moji/newliveview/dynamic/base/Cell;",
">;)V"
}
.end annotation
.line 195
iget-object v0, p0, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->e:Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;
invoke-virtual {v0}, Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;->d()V
.line 196
iget-object v0, p0, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->e:Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;
invoke-virtual {v0, p1}, Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;->a(Ljava/util/ArrayList;)V
.line 197
invoke-virtual {p1}, Ljava/util/ArrayList;->size()I
move-result p1
const/4 v0, 0x1
if-lez p1, :cond_0
const/4 p1, 0x1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
invoke-virtual {p0, p1}, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->a(Z)V
.line 198
invoke-virtual {p0}, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->p()Lcom/moji/user/message/fragment/MsgLiveViewFragment;
move-result-object p1
invoke-virtual {p0}, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->g()Z
move-result v1
invoke-virtual {p1, v1}, Lcom/moji/user/message/fragment/MsgLiveViewFragment;->a(Z)V
.line 199
iput-boolean v0, p0, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->j:Z
return-void
.end method
.method public b(ZLcom/moji/newliveview/dynamic/base/Cell;)V
.locals 0
.line 217
invoke-virtual {p0, p1, p2}, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->a(ZLcom/moji/newliveview/dynamic/base/Cell;)V
.line 218
invoke-virtual {p0}, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->p()Lcom/moji/user/message/fragment/MsgLiveViewFragment;
move-result-object p1
invoke-virtual {p0}, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->g()Z
move-result p2
invoke-virtual {p1, p2}, Lcom/moji/user/message/fragment/MsgLiveViewFragment;->a(Z)V
const/4 p1, 0x1
.line 219
iput-boolean p1, p0, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->j:Z
return-void
.end method
.method public b(ZZ)V
.locals 1
.line 204
iget-object v0, p0, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->c:Lcom/moji/swiperefreshlayout/SwipeRefreshLayout;
invoke-virtual {v0}, Lcom/moji/swiperefreshlayout/SwipeRefreshLayout;->b()V
.line 205
invoke-virtual {p0, p1, p2}, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->a(ZZ)V
.line 206
invoke-virtual {p0}, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->p()Lcom/moji/user/message/fragment/MsgLiveViewFragment;
move-result-object p1
invoke-virtual {p0}, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->g()Z
move-result p2
invoke-virtual {p1, p2}, Lcom/moji/user/message/fragment/MsgLiveViewFragment;->a(Z)V
const/4 p1, 0x1
.line 207
iput-boolean p1, p0, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->j:Z
return-void
.end method
.method protected c(Lcom/moji/newliveview/dynamic/base/BaseCell;)V
.locals 4
.line 57
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
move-result-object v0
sget-object v1, Lcom/moji/statistics/EVENT_TAG;->ME_NEWS_TIMELINE_DETAIL_COMMENT_DELETE:Lcom/moji/statistics/EVENT_TAG;
invoke-virtual {v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;
.line 58
iget-object v0, p0, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->d:Ljava/lang/Object;
check-cast v0, Lcom/moji/user/message/presenter/MsgCommentPresenter;
move-object v1, p1
check-cast v1, Lcom/moji/user/message/cell/CommentMsgCell;
invoke-virtual {v1}, Lcom/moji/user/message/cell/CommentMsgCell;->f()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/moji/http/message/bean/CommentMsgResp$CommentMsg;
iget-wide v1, v1, Lcom/moji/http/message/bean/CommentMsgResp$CommentMsg;->id:J
const/4 v3, 0x1
invoke-virtual {v0, v3, p1, v1, v2}, Lcom/moji/user/message/presenter/MsgCommentPresenter;->a(ILcom/moji/newliveview/dynamic/base/Cell;J)V
return-void
.end method
.method protected c(Z)V
.locals 1
.line 52
iget-object v0, p0, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->d:Ljava/lang/Object;
check-cast v0, Lcom/moji/user/message/presenter/MsgCommentPresenter;
invoke-virtual {v0, p1}, Lcom/moji/user/message/presenter/MsgCommentPresenter;->a(Z)V
return-void
.end method
.method public d(Z)V
.locals 0
.line 212
invoke-virtual {p0, p1}, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->b(Z)V
return-void
.end method
.method protected i()Z
.locals 1
const/4 v0, 0x0
return v0
.end method
.method protected k()Z
.locals 1
const/4 v0, 0x1
return v0
.end method
.method protected synthetic l()Ljava/lang/Object;
.locals 1
.line 40
invoke-virtual {p0}, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->o()Lcom/moji/user/message/presenter/MsgCommentPresenter;
move-result-object v0
return-object v0
.end method
.method public m()V
.locals 5
.line 224
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
move-result-object v0
sget-object v1, Lcom/moji/statistics/EVENT_TAG;->ME_NEWS_TIMELINE_DETAIL_COMMENT_CLEAR:Lcom/moji/statistics/EVENT_TAG;
invoke-virtual {v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;
.line 225
invoke-virtual {p0}, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->g()Z
move-result v0
if-nez v0, :cond_0
.line 226
iget-object v0, p0, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->d:Ljava/lang/Object;
check-cast v0, Lcom/moji/user/message/presenter/MsgCommentPresenter;
const/4 v1, 0x1
const/4 v2, 0x0
const-wide/16 v3, 0x0
invoke-virtual {v0, v1, v2, v3, v4}, Lcom/moji/user/message/presenter/MsgCommentPresenter;->a(ILcom/moji/newliveview/dynamic/base/Cell;J)V
:cond_0
return-void
.end method
.method protected n()Ljava/lang/String;
.locals 1
const-string v0, ""
return-object v0
.end method
.method protected o()Lcom/moji/user/message/presenter/MsgCommentPresenter;
.locals 1
.line 47
new-instance v0, Lcom/moji/user/message/presenter/MsgCommentPresenter;
invoke-direct {v0, p0}, Lcom/moji/user/message/presenter/MsgCommentPresenter;-><init>(Lcom/moji/user/message/presenter/MsgBasePresenter$NewMessageCallBack;)V
return-object v0
.end method
.method public onActivityResult(IILandroid/content/Intent;)V
.locals 1
.line 100
invoke-super {p0, p1, p2, p3}, Lcom/moji/user/message/fragment/BaseMsgFragment;->onActivityResult(IILandroid/content/Intent;)V
const/4 v0, -0x1
if-eq p2, v0, :cond_0
return-void
:cond_0
const/16 p2, 0x64
if-ne p1, p2, :cond_1
if-eqz p3, :cond_1
const-string p1, "key_input_comment"
.line 106
invoke-virtual {p3, p1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;
move-result-object p1
check-cast p1, Lcom/moji/http/message/bean/CommentMsgResp$CommentMsg;
if-eqz p1, :cond_1
.line 108
invoke-direct {p0, p1}, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->a(Lcom/moji/http/message/bean/CommentMsgResp$CommentMsg;)V
:cond_1
return-void
.end method
.method public p()Lcom/moji/user/message/fragment/MsgLiveViewFragment;
.locals 1
.line 246
invoke-virtual {p0}, Lcom/moji/user/message/fragment/MsgLiveViewCommentFragment;->getParentFragment()Landroid/support/v4/app/Fragment;
move-result-object v0
check-cast v0, Lcom/moji/user/message/fragment/MsgLiveViewFragment;
return-object v0
.end method