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

175 lines
5.5 KiB
Smali

.class Lcom/moji/user/message/fragment/MsgLiveViewFragment$2;
.super Ljava/lang/Object;
.source "MsgLiveViewFragment.java"
# interfaces
.implements Landroid/support/v4/view/ViewPager$OnPageChangeListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/moji/user/message/fragment/MsgLiveViewFragment;->d()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic a:Lcom/moji/user/message/fragment/MsgLiveViewFragment;
# direct methods
.method constructor <init>(Lcom/moji/user/message/fragment/MsgLiveViewFragment;)V
.locals 0
.line 90
iput-object p1, p0, Lcom/moji/user/message/fragment/MsgLiveViewFragment$2;->a:Lcom/moji/user/message/fragment/MsgLiveViewFragment;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onPageScrollStateChanged(I)V
.locals 0
return-void
.end method
.method public onPageScrolled(IFI)V
.locals 0
return-void
.end method
.method public onPageSelected(I)V
.locals 3
.line 98
iget-object v0, p0, Lcom/moji/user/message/fragment/MsgLiveViewFragment$2;->a:Lcom/moji/user/message/fragment/MsgLiveViewFragment;
iget-object v1, p0, Lcom/moji/user/message/fragment/MsgLiveViewFragment$2;->a:Lcom/moji/user/message/fragment/MsgLiveViewFragment;
invoke-static {v1}, Lcom/moji/user/message/fragment/MsgLiveViewFragment;->b(Lcom/moji/user/message/fragment/MsgLiveViewFragment;)Landroid/util/SparseArray;
move-result-object v1
invoke-virtual {v1, p1}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/moji/user/message/fragment/BaseMsgFragment;
invoke-static {v0, v1}, Lcom/moji/user/message/fragment/MsgLiveViewFragment;->a(Lcom/moji/user/message/fragment/MsgLiveViewFragment;Lcom/moji/user/message/fragment/BaseMsgFragment;)Lcom/moji/user/message/fragment/BaseMsgFragment;
.line 99
iget-object v0, p0, Lcom/moji/user/message/fragment/MsgLiveViewFragment$2;->a:Lcom/moji/user/message/fragment/MsgLiveViewFragment;
iget-boolean v0, v0, Lcom/moji/user/message/fragment/MsgLiveViewFragment;->c:Z
const/4 v1, 0x1
if-nez v0, :cond_1
.line 100
iget-object v0, p0, Lcom/moji/user/message/fragment/MsgLiveViewFragment$2;->a:Lcom/moji/user/message/fragment/MsgLiveViewFragment;
iget v0, v0, Lcom/moji/user/message/fragment/MsgLiveViewFragment;->b:I
if-ne v0, v1, :cond_0
.line 101
invoke-static {}, Lcom/moji/redpoint/RedPointManager;->a()Lcom/moji/redpoint/RedPointManager;
move-result-object v0
const/4 v2, 0x3
invoke-virtual {v0, v2}, Lcom/moji/redpoint/RedPointManager;->a(I)V
goto :goto_0
.line 103
:cond_0
invoke-static {}, Lcom/moji/redpoint/RedPointManager;->a()Lcom/moji/redpoint/RedPointManager;
move-result-object v0
const/4 v2, 0x2
invoke-virtual {v0, v2}, Lcom/moji/redpoint/RedPointManager;->a(I)V
.line 105
:goto_0
iget-object v0, p0, Lcom/moji/user/message/fragment/MsgLiveViewFragment$2;->a:Lcom/moji/user/message/fragment/MsgLiveViewFragment;
iput-boolean v1, v0, Lcom/moji/user/message/fragment/MsgLiveViewFragment;->c:Z
.line 108
:cond_1
iget-object v0, p0, Lcom/moji/user/message/fragment/MsgLiveViewFragment$2;->a:Lcom/moji/user/message/fragment/MsgLiveViewFragment;
invoke-static {v0}, Lcom/moji/user/message/fragment/MsgLiveViewFragment;->a(Lcom/moji/user/message/fragment/MsgLiveViewFragment;)Lcom/moji/user/message/fragment/BaseMsgFragment;
move-result-object v0
iget-boolean v0, v0, Lcom/moji/user/message/fragment/BaseMsgFragment;->j:Z
if-eqz v0, :cond_3
.line 109
iget-object v0, p0, Lcom/moji/user/message/fragment/MsgLiveViewFragment$2;->a:Lcom/moji/user/message/fragment/MsgLiveViewFragment;
invoke-static {v0}, Lcom/moji/user/message/fragment/MsgLiveViewFragment;->a(Lcom/moji/user/message/fragment/MsgLiveViewFragment;)Lcom/moji/user/message/fragment/BaseMsgFragment;
move-result-object v0
invoke-virtual {v0}, Lcom/moji/user/message/fragment/BaseMsgFragment;->g()Z
move-result v0
if-eqz v0, :cond_2
.line 110
iget-object v0, p0, Lcom/moji/user/message/fragment/MsgLiveViewFragment$2;->a:Lcom/moji/user/message/fragment/MsgLiveViewFragment;
invoke-static {v0}, Lcom/moji/user/message/fragment/MsgLiveViewFragment;->c(Lcom/moji/user/message/fragment/MsgLiveViewFragment;)Lcom/moji/titlebar/MJTitleBar;
move-result-object v0
invoke-virtual {v0}, Lcom/moji/titlebar/MJTitleBar;->h()V
goto :goto_1
.line 112
:cond_2
iget-object v0, p0, Lcom/moji/user/message/fragment/MsgLiveViewFragment$2;->a:Lcom/moji/user/message/fragment/MsgLiveViewFragment;
invoke-static {v0}, Lcom/moji/user/message/fragment/MsgLiveViewFragment;->c(Lcom/moji/user/message/fragment/MsgLiveViewFragment;)Lcom/moji/titlebar/MJTitleBar;
move-result-object v0
invoke-virtual {v0}, Lcom/moji/titlebar/MJTitleBar;->j()V
:cond_3
:goto_1
if-ne p1, v1, :cond_4
.line 117
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_TAB_CLICK:Lcom/moji/statistics/EVENT_TAG;
invoke-virtual {p1, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;
:cond_4
return-void
.end method