293 lines
8.3 KiB
Smali
293 lines
8.3 KiB
Smali
.class public Lcom/moji/user/message/fragment/MsgAttentionFragment;
|
|
.super Lcom/moji/user/message/fragment/BaseMsgFragment;
|
|
.source "MsgAttentionFragment.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/MsgAttentionPresenter;",
|
|
">;",
|
|
"Lcom/moji/user/message/IMsgDetailCallBack<",
|
|
"Lcom/moji/http/message/bean/AttentionMsgResp$AttentionMsg;",
|
|
">;",
|
|
"Lcom/moji/user/message/presenter/MsgBasePresenter$NewMessageCallBack;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 21
|
|
invoke-direct {p0}, Lcom/moji/user/message/fragment/BaseMsgFragment;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(ILcom/moji/http/message/bean/AttentionMsgResp$AttentionMsg;)V
|
|
.locals 3
|
|
|
|
.line 46
|
|
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_NOTICE_FOLLOW_DETAIL_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 47
|
|
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/MsgAttentionFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;
|
|
|
|
move-result-object v0
|
|
|
|
iget-wide v1, p2, Lcom/moji/http/message/bean/AttentionMsgResp$AttentionMsg;->sns_id:J
|
|
|
|
invoke-virtual {p1, v0, v1, v2}, Lcom/moji/account/data/AccountProvider;->a(Landroid/content/Context;J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public bridge synthetic a(ILjava/lang/Object;)V
|
|
.locals 0
|
|
|
|
.line 21
|
|
check-cast p2, Lcom/moji/http/message/bean/AttentionMsgResp$AttentionMsg;
|
|
|
|
invoke-virtual {p0, p1, p2}, Lcom/moji/user/message/fragment/MsgAttentionFragment;->a(ILcom/moji/http/message/bean/AttentionMsgResp$AttentionMsg;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Lcom/moji/newliveview/dynamic/base/BaseCell;)V
|
|
.locals 0
|
|
|
|
.line 41
|
|
invoke-virtual {p0, p1}, Lcom/moji/user/message/fragment/MsgAttentionFragment;->b(Lcom/moji/newliveview/dynamic/base/BaseCell;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Ljava/util/ArrayList;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/ArrayList<",
|
|
"Lcom/moji/newliveview/dynamic/base/Cell;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 52
|
|
iget-object v0, p0, Lcom/moji/user/message/fragment/MsgAttentionFragment;->e:Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;
|
|
|
|
invoke-virtual {v0}, Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;->d()V
|
|
|
|
.line 53
|
|
iget-object v0, p0, Lcom/moji/user/message/fragment/MsgAttentionFragment;->e:Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;->a(Ljava/util/ArrayList;)V
|
|
|
|
.line 54
|
|
invoke-virtual {p1}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result p1
|
|
|
|
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/MsgAttentionFragment;->a(Z)V
|
|
|
|
.line 55
|
|
invoke-virtual {p0}, Lcom/moji/user/message/fragment/MsgAttentionFragment;->f()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(ZLcom/moji/newliveview/dynamic/base/Cell;)V
|
|
.locals 0
|
|
|
|
.line 72
|
|
invoke-virtual {p0, p1, p2}, Lcom/moji/user/message/fragment/MsgAttentionFragment;->a(ZLcom/moji/newliveview/dynamic/base/Cell;)V
|
|
|
|
.line 73
|
|
invoke-virtual {p0}, Lcom/moji/user/message/fragment/MsgAttentionFragment;->f()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(ZZ)V
|
|
.locals 1
|
|
|
|
.line 60
|
|
iget-object v0, p0, Lcom/moji/user/message/fragment/MsgAttentionFragment;->c:Lcom/moji/swiperefreshlayout/SwipeRefreshLayout;
|
|
|
|
invoke-virtual {v0}, Lcom/moji/swiperefreshlayout/SwipeRefreshLayout;->b()V
|
|
|
|
.line 61
|
|
invoke-virtual {p0, p1, p2}, Lcom/moji/user/message/fragment/MsgAttentionFragment;->a(ZZ)V
|
|
|
|
.line 62
|
|
invoke-virtual {p0}, Lcom/moji/user/message/fragment/MsgAttentionFragment;->f()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected c(Lcom/moji/newliveview/dynamic/base/BaseCell;)V
|
|
.locals 4
|
|
|
|
.line 35
|
|
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_NOTICE_FOLLOW_DETAIL_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 36
|
|
iget-object v0, p0, Lcom/moji/user/message/fragment/MsgAttentionFragment;->d:Ljava/lang/Object;
|
|
|
|
check-cast v0, Lcom/moji/user/message/presenter/MsgAttentionPresenter;
|
|
|
|
move-object v1, p1
|
|
|
|
check-cast v1, Lcom/moji/user/message/cell/AttentionMsgCell;
|
|
|
|
invoke-virtual {v1}, Lcom/moji/user/message/cell/AttentionMsgCell;->f()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Lcom/moji/http/message/bean/AttentionMsgResp$AttentionMsg;
|
|
|
|
iget-wide v1, v1, Lcom/moji/http/message/bean/AttentionMsgResp$AttentionMsg;->id:J
|
|
|
|
const/16 v3, 0xc
|
|
|
|
invoke-virtual {v0, v3, p1, v1, v2}, Lcom/moji/user/message/presenter/MsgAttentionPresenter;->a(ILcom/moji/newliveview/dynamic/base/Cell;J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected c(Z)V
|
|
.locals 1
|
|
|
|
.line 30
|
|
iget-object v0, p0, Lcom/moji/user/message/fragment/MsgAttentionFragment;->d:Ljava/lang/Object;
|
|
|
|
check-cast v0, Lcom/moji/user/message/presenter/MsgAttentionPresenter;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/moji/user/message/presenter/MsgAttentionPresenter;->a(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public d(Z)V
|
|
.locals 0
|
|
|
|
.line 67
|
|
invoke-virtual {p0, p1}, Lcom/moji/user/message/fragment/MsgAttentionFragment;->b(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected j()Z
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method protected synthetic l()Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
.line 21
|
|
invoke-virtual {p0}, Lcom/moji/user/message/fragment/MsgAttentionFragment;->o()Lcom/moji/user/message/presenter/MsgAttentionPresenter;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public m()V
|
|
.locals 5
|
|
|
|
.line 78
|
|
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_NOTICE_FOLLOW_DETAIL_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 79
|
|
invoke-virtual {p0}, Lcom/moji/user/message/fragment/MsgAttentionFragment;->g()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 80
|
|
iget-object v0, p0, Lcom/moji/user/message/fragment/MsgAttentionFragment;->d:Ljava/lang/Object;
|
|
|
|
check-cast v0, Lcom/moji/user/message/presenter/MsgAttentionPresenter;
|
|
|
|
const/16 v1, 0xc
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const-wide/16 v3, 0x0
|
|
|
|
invoke-virtual {v0, v1, v2, v3, v4}, Lcom/moji/user/message/presenter/MsgAttentionPresenter;->a(ILcom/moji/newliveview/dynamic/base/Cell;J)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method protected n()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 86
|
|
sget v0, Lcom/moji/user/R$string;->personal_add_attention:I
|
|
|
|
invoke-static {v0}, Lcom/moji/tool/DeviceTool;->f(I)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method protected o()Lcom/moji/user/message/presenter/MsgAttentionPresenter;
|
|
.locals 1
|
|
|
|
.line 25
|
|
new-instance v0, Lcom/moji/user/message/presenter/MsgAttentionPresenter;
|
|
|
|
invoke-direct {v0, p0}, Lcom/moji/user/message/presenter/MsgAttentionPresenter;-><init>(Lcom/moji/user/message/presenter/MsgBasePresenter$NewMessageCallBack;)V
|
|
|
|
return-object v0
|
|
.end method
|