BaseVideoFragment.smali
.class public abstract Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;
.super Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;
.source "SourceFile"
# interfaces
.implements Lcom/imo/android/imoim/feeds/ui/home/c;
.implements Lcom/masala/share/eventbus/c$a;
.implements Lsg/bigo/svcapi/linkd/ILinkdConnStatListener;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<V::",
"Lcom/imo/android/imoim/feeds/ui/home/base/b;",
"T:",
"Lcom/imo/android/imoim/feeds/ui/home/base/a<",
"TV;>;>",
"Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment<",
"TT;>;",
"Lcom/imo/android/imoim/feeds/ui/home/c;",
"Lcom/masala/share/eventbus/c$a;",
"Lsg/bigo/svcapi/linkd/ILinkdConnStatListener;"
}
.end annotation
# instance fields
.field private c:Z
.field public g:I
.field protected h:Z
.field public i:Lcom/imo/android/imoim/feeds/ui/vhadapter/VHAdapter;
.field public j:Lcom/imo/android/imoim/feeds/ui/vhadapter/a;
.field public k:Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
.field public l:Landroidx/recyclerview/widget/RecyclerView;
.field public m:Lcom/imo/android/imoim/feeds/ui/views/refresh/MaterialRefreshLayout;
.field protected n:Lcom/masala/share/stat/q;
.field public o:Lcom/masala/share/stat/p;
.field protected p:Landroid/view/View;
.field public q:Lcom/imo/android/imoim/feeds/ui/home/f;
.field protected r:Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;
.field protected s:Ljava/lang/String;
.field protected t:Z
.field protected u:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Ljava/lang/Long;",
">;"
}
.end annotation
.end field
.field private w:I
.field private x:Z
.field private y:Z
.field private z:Ljava/lang/Runnable;
# direct methods
.method public constructor <init>()V
.registers 2
.line 108
invoke-direct {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;-><init>()V
const/4 v0, 0x0
.line 70
iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->h:Z
.line 82
iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->c:Z
.line 83
iput v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->w:I
.line 84
iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->x:Z
.line 88
iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->y:Z
.line 92
new-instance v0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment$1;
invoke-direct {v0, p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment$1;-><init>(Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;)V
iput-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->q:Lcom/imo/android/imoim/feeds/ui/home/f;
.line 207
new-instance v0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment$3;
invoke-direct {v0, p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment$3;-><init>(Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;)V
iput-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->z:Ljava/lang/Runnable;
.line 218
new-instance v0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment$4;
invoke-direct {v0, p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment$4;-><init>(Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;)V
iput-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->r:Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;
return-void
.end method
.method static synthetic a(Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;)Z
.registers 1
.line 68
iget-boolean p0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->c:Z
return p0
.end method
.method static synthetic b(Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;)Z
.registers 2
const/4 v0, 0x1
.line 68
iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->c:Z
return v0
.end method
.method static synthetic c(Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;)Z
.registers 2
const/4 v0, 0x0
.line 68
iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->y:Z
return v0
.end method
# virtual methods
.method public A()Ljava/util/List;
.registers 7
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Ljava/lang/Long;",
">;"
}
.end annotation
.line 337
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->getArguments()Landroid/os/Bundle;
move-result-object v0
const/4 v1, 0x0
if-nez v0, :cond_8
return-object v1
.line 342
:cond_8
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->getArguments()Landroid/os/Bundle;
move-result-object v0
const-string v2, "key_tab"
invoke-virtual {v0, v2}, Landroid/os/Bundle;->getParcelable(Ljava/lang/String;)Landroid/os/Parcelable;
move-result-object v0
check-cast v0, Lcom/imo/android/imoim/feeds/TabType;
if-nez v0, :cond_18
.line 344
sget-object v0, Lcom/imo/android/imoim/feeds/TabType;->HOT:Lcom/imo/android/imoim/feeds/TabType;
.line 346
:cond_18
sget-object v2, Lcom/imo/android/imoim/feeds/TabType;->HOT:Lcom/imo/android/imoim/feeds/TabType;
if-ne v0, v2, :cond_20
instance-of v2, p0, Lcom/imo/android/imoim/feeds/ui/home/HotFragment;
if-eqz v2, :cond_30
:cond_20
sget-object v2, Lcom/imo/android/imoim/feeds/TabType;->FOLLOW:Lcom/imo/android/imoim/feeds/TabType;
if-ne v0, v2, :cond_28
instance-of v2, p0, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;
if-eqz v2, :cond_30
:cond_28
sget-object v2, Lcom/imo/android/imoim/feeds/TabType;->SHARING:Lcom/imo/android/imoim/feeds/TabType;
if-ne v0, v2, :cond_31
instance-of v0, p0, Lcom/imo/android/imoim/feeds/ui/home/sharing/SharingFragment;
if-nez v0, :cond_31
:cond_30
return-object v1
.line 352
:cond_31
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->getArguments()Landroid/os/Bundle;
move-result-object v0
const/4 v2, 0x0
const-string v3, "key_append_list"
invoke-virtual {v0, v3, v2}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;Z)Z
move-result v0
iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->t:Z
if-nez v0, :cond_41
return-object v1
.line 356
:cond_41
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->getArguments()Landroid/os/Bundle;
move-result-object v0
const-string v3, "ids"
invoke-virtual {v0, v3}, Landroid/os/Bundle;->getLongArray(Ljava/lang/String;)[J
move-result-object v0
if-eqz v0, :cond_77
.line 357
array-length v3, v0
if-lez v3, :cond_77
.line 358
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
iput-object v1, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->u:Ljava/util/List;
.line 359
array-length v1, v0
:goto_58
if-ge v2, v1, :cond_68
aget-wide v3, v0, v2
.line 360
iget-object v5, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->u:Ljava/util/List;
invoke-static {v3, v4}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v3
invoke-interface {v5, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
add-int/lit8 v2, v2, 0x1
goto :goto_58
.line 362
:cond_68
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->getArguments()Landroid/os/Bundle;
move-result-object v0
const-string v1, "ids_from"
invoke-virtual {v0, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->s:Ljava/lang/String;
.line 363
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->u:Ljava/util/List;
return-object v0
:cond_77
return-object v1
.end method
.method public final B()V
.registers 7
.line 369
iget-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->y:Z
if-nez v0, :cond_49
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->p:Landroid/view/View;
if-eqz v0, :cond_49
invoke-virtual {v0}, Landroid/view/View;->getVisibility()I
move-result v0
const/16 v1, 0x8
if-ne v0, v1, :cond_11
goto :goto_49
:cond_11
const/4 v0, 0x1
.line 370
iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->y:Z
const/4 v1, 0x2
new-array v2, v1, [F
.line 371
fill-array-data v2, :array_4a
const-string v3, "alpha"
invoke-static {v3, v2}, Landroid/animation/PropertyValuesHolder;->ofFloat(Ljava/lang/String;[F)Landroid/animation/PropertyValuesHolder;
move-result-object v2
new-array v3, v1, [F
.line 372
fill-array-data v3, :array_52
const-string v4, "translationY"
invoke-static {v4, v3}, Landroid/animation/PropertyValuesHolder;->ofFloat(Ljava/lang/String;[F)Landroid/animation/PropertyValuesHolder;
move-result-object v3
.line 373
iget-object v4, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->p:Landroid/view/View;
new-array v1, v1, [Landroid/animation/PropertyValuesHolder;
const/4 v5, 0x0
aput-object v3, v1, v5
aput-object v2, v1, v0
invoke-static {v4, v1}, Landroid/animation/ObjectAnimator;->ofPropertyValuesHolder(Ljava/lang/Object;[Landroid/animation/PropertyValuesHolder;)Landroid/animation/ObjectAnimator;
move-result-object v0
const-wide/16 v1, 0xc8
invoke-virtual {v0, v1, v2}, Landroid/animation/ObjectAnimator;->setDuration(J)Landroid/animation/ObjectAnimator;
move-result-object v0
.line 374
new-instance v1, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment$6;
invoke-direct {v1, p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment$6;-><init>(Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;)V
invoke-virtual {v0, v1}, Landroid/animation/ObjectAnimator;->addListener(Landroid/animation/Animator$AnimatorListener;)V
.line 382
invoke-virtual {v0}, Landroid/animation/ObjectAnimator;->start()V
:cond_49
:goto_49
return-void
:array_4a
.array-data 4
0x3f800000 # 1.0f
0x0
.end array-data
:array_52
.array-data 4
0x0
0x42dc0000 # 110.0f
.end array-data
.end method
.method public final C()V
.registers 7
.line 386
iget-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->y:Z
if-nez v0, :cond_52
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->p:Landroid/view/View;
if-eqz v0, :cond_52
invoke-virtual {v0}, Landroid/view/View;->getVisibility()I
move-result v0
if-nez v0, :cond_f
goto :goto_52
:cond_f
const/4 v0, 0x1
.line 387
iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->y:Z
.line 388
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->p:Landroid/view/View;
const/4 v2, 0x0
invoke-virtual {v1, v2}, Landroid/view/View;->setAlpha(F)V
.line 389
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->p:Landroid/view/View;
const/4 v2, 0x0
invoke-virtual {v1, v2}, Landroid/view/View;->setVisibility(I)V
const/4 v1, 0x2
new-array v3, v1, [F
.line 390
fill-array-data v3, :array_54
const-string v4, "alpha"
invoke-static {v4, v3}, Landroid/animation/PropertyValuesHolder;->ofFloat(Ljava/lang/String;[F)Landroid/animation/PropertyValuesHolder;
move-result-object v3
new-array v4, v1, [F
.line 391
fill-array-data v4, :array_5c
const-string v5, "translationY"
invoke-static {v5, v4}, Landroid/animation/PropertyValuesHolder;->ofFloat(Ljava/lang/String;[F)Landroid/animation/PropertyValuesHolder;
move-result-object v4
.line 393
iget-object v5, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->p:Landroid/view/View;
new-array v1, v1, [Landroid/animation/PropertyValuesHolder;
aput-object v4, v1, v2
aput-object v3, v1, v0
invoke-static {v5, v1}, Landroid/animation/ObjectAnimator;->ofPropertyValuesHolder(Ljava/lang/Object;[Landroid/animation/PropertyValuesHolder;)Landroid/animation/ObjectAnimator;
move-result-object v0
const-wide/16 v1, 0xc8
invoke-virtual {v0, v1, v2}, Landroid/animation/ObjectAnimator;->setDuration(J)Landroid/animation/ObjectAnimator;
move-result-object v0
.line 394
new-instance v1, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment$7;
invoke-direct {v1, p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment$7;-><init>(Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;)V
invoke-virtual {v0, v1}, Landroid/animation/ObjectAnimator;->addListener(Landroid/animation/Animator$AnimatorListener;)V
.line 401
invoke-virtual {v0}, Landroid/animation/ObjectAnimator;->start()V
:cond_52
:goto_52
return-void
nop
:array_54
.array-data 4
0x0
0x3f800000 # 1.0f
.end array-data
:array_5c
.array-data 4
0x42dc0000 # 110.0f
0x0
.end array-data
.end method
.method public final D()V
.registers 5
.line 406
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->p:Landroid/view/View;
if-eqz v0, :cond_5f
.line 408
new-instance v1, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment$8;
invoke-direct {v1, p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment$8;-><init>(Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;)V
invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
.line 439
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->p:Landroid/view/View;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
.line 440
invoke-static {}, Lsg/bigo/common/k;->b()I
move-result v0
const/16 v1, 0x438
if-lt v0, v1, :cond_5f
.line 441
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->p:Landroid/view/View;
invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v0
.line 442
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->p:Landroid/view/View;
const v2, 0x7e08012f
invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v1
invoke-virtual {v1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v1
check-cast v1, Landroid/view/ViewGroup$MarginLayoutParams;
const/16 v2, 0x55
.line 443
invoke-static {v2}, Lcom/masala/share/utils/l;->a(I)I
move-result v3
iput v3, v0, Landroid/view/ViewGroup$LayoutParams;->width:I
.line 444
invoke-static {v2}, Lcom/masala/share/utils/l;->a(I)I
move-result v2
iput v2, v0, Landroid/view/ViewGroup$LayoutParams;->height:I
const/16 v0, 0xd
.line 445
invoke-static {v0}, Lcom/masala/share/utils/l;->a(I)I
move-result v2
iput v2, v1, Landroid/view/ViewGroup$MarginLayoutParams;->width:I
.line 446
invoke-static {v0}, Lcom/masala/share/utils/l;->a(I)I
move-result v0
iput v0, v1, Landroid/view/ViewGroup$MarginLayoutParams;->height:I
const/16 v0, 0xe
.line 447
invoke-static {v0}, Lcom/masala/share/utils/l;->a(I)I
move-result v2
invoke-virtual {v1, v2}, Landroid/view/ViewGroup$MarginLayoutParams;->setMarginEnd(I)V
.line 448
invoke-static {v0}, Lcom/masala/share/utils/l;->a(I)I
move-result v0
iput v0, v1, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
.line 449
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->p:Landroid/view/View;
invoke-virtual {v0}, Landroid/view/View;->requestLayout()V
:cond_5f
return-void
.end method
.method public a(Landroid/os/Bundle;)V
.registers 5
.line 113
invoke-super {p0, p1}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->a(Landroid/os/Bundle;)V
.line 114
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->getContext()Landroid/content/Context;
move-result-object p1
.line 115
invoke-static {p1}, Landroid/view/ViewConfiguration;->get(Landroid/content/Context;)Landroid/view/ViewConfiguration;
move-result-object p1
invoke-virtual {p1}, Landroid/view/ViewConfiguration;->getScaledTouchSlop()I
move-result p1
iput p1, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->g:I
.line 1051
invoke-static {}, Lsg/bigo/core/task/a$a;->a()Lsg/bigo/core/task/a;
move-result-object p1
.line 116
sget-object v0, Lsg/bigo/core/task/b;->BACKGROUND:Lsg/bigo/core/task/b;
new-instance v1, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment$2;
invoke-direct {v1, p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment$2;-><init>(Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;)V
new-instance v2, Lcom/imo/android/imoim/feeds/g/a;
invoke-direct {v2}, Lcom/imo/android/imoim/feeds/g/a;-><init>()V
invoke-virtual {p1, v0, v1, v2}, Lsg/bigo/core/task/a;->a(Lsg/bigo/core/task/b;Ljava/lang/Runnable;Lsg/bigo/common/d/a;)Lbolts/e;
return-void
.end method
.method public a(Z)V
.registers 3
.line 312
invoke-super {p0, p1}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->a(Z)V
if-eqz p1, :cond_25
.line 314
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->p:Landroid/view/View;
if-eqz p1, :cond_25
const v0, 0x7e08012f
.line 315
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object p1
if-nez p1, :cond_13
return-void
.line 317
:cond_13
sget-object v0, Lcom/imo/android/imoim/feeds/ui/home/b;->a:Lcom/imo/android/imoim/feeds/ui/home/b;
invoke-static {}, Lcom/imo/android/imoim/feeds/ui/home/b;->a()Z
move-result v0
if-eqz v0, :cond_20
const/4 v0, 0x0
.line 318
invoke-virtual {p1, v0}, Landroid/view/View;->setVisibility(I)V
return-void
:cond_20
const/16 v0, 0x8
.line 320
invoke-virtual {p1, v0}, Landroid/view/View;->setVisibility(I)V
:cond_25
return-void
.end method
.method public final b()V
.registers 3
.line 187
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->x()Z
move-result v0
if-nez v0, :cond_9
.line 188
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->y()V
.line 190
:cond_9
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->m:Lcom/imo/android/imoim/feeds/ui/views/refresh/MaterialRefreshLayout;
if-eqz v0, :cond_14
invoke-virtual {v0}, Lcom/imo/android/imoim/feeds/ui/views/refresh/MaterialRefreshLayout;->a()Z
move-result v0
if-eqz v0, :cond_14
return-void
.line 193
:cond_14
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->m:Lcom/imo/android/imoim/feeds/ui/views/refresh/MaterialRefreshLayout;
if-eqz v0, :cond_1c
const/4 v1, 0x0
.line 194
invoke-virtual {v0, v1}, Lcom/imo/android/imoim/feeds/ui/views/refresh/MaterialRefreshLayout;->a(Z)V
:cond_1c
return-void
.end method
.method protected final b(I)V
.registers 6
.line 203
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->a:Landroid/os/Handler;
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->z:Ljava/lang/Runnable;
invoke-virtual {v0, v1}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V
.line 204
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->a:Landroid/os/Handler;
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->z:Ljava/lang/Runnable;
int-to-long v2, p1
invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z
return-void
.end method
.method public b(Landroid/os/Bundle;)V
.registers 2
.line 139
invoke-super {p0, p1}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->b(Landroid/os/Bundle;)V
return-void
.end method
.method public final c(I)V
.registers 5
const/4 v0, 0x1
const/4 v1, 0x0
if-nez p1, :cond_2a
.line 293
iget p1, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->w:I
add-int/2addr p1, v0
iput p1, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->w:I
const/4 v2, 0x2
if-lt p1, v2, :cond_33
.line 294
iget-boolean p1, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->x:Z
if-nez p1, :cond_33
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->j:Lcom/imo/android/imoim/feeds/ui/vhadapter/a;
invoke-virtual {p1}, Lcom/imo/android/imoim/feeds/ui/vhadapter/a;->b()I
move-result p1
if-lez p1, :cond_33
.line 295
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->j:Lcom/imo/android/imoim/feeds/ui/vhadapter/a;
new-instance v2, Lcom/imo/android/imoim/feeds/ui/home/FooterVBridge$a;
invoke-direct {v2}, Lcom/imo/android/imoim/feeds/ui/home/FooterVBridge$a;-><init>()V
invoke-virtual {p1, v2}, Lcom/imo/android/imoim/feeds/ui/vhadapter/a;->a(Ljava/lang/Object;)V
.line 296
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->m:Lcom/imo/android/imoim/feeds/ui/views/refresh/MaterialRefreshLayout;
invoke-virtual {p1, v1}, Lcom/imo/android/imoim/feeds/ui/views/refresh/MaterialRefreshLayout;->setLoadMore(Z)V
.line 297
iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->x:Z
return-void
.line 300
:cond_2a
iput-boolean v1, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->x:Z
.line 301
iput v1, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->w:I
.line 302
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->m:Lcom/imo/android/imoim/feeds/ui/views/refresh/MaterialRefreshLayout;
invoke-virtual {p1, v0}, Lcom/imo/android/imoim/feeds/ui/views/refresh/MaterialRefreshLayout;->setLoadMore(Z)V
:cond_33
return-void
.end method
.method public e()V
.registers 3
.line 127
invoke-super {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->e()V
.line 129
invoke-static {}, Lcom/masala/share/proto/u;->d()Lcom/masala/share/proto/m;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/masala/share/proto/m;->a(Lsg/bigo/svcapi/linkd/ILinkdConnStatListener;)V
.line 130
invoke-static {}, Lcom/masala/share/proto/n;->b()I
move-result v0
const/4 v1, 0x2
if-ne v0, v1, :cond_18
iget-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->c:Z
if-nez v0, :cond_18
const/4 v0, 0x1
.line 133
iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->c:Z
:cond_18
return-void
.end method
.method public j()V
.registers 2
.line 158
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->v:Lsg/bigo/core/mvp/presenter/a;
if-eqz v0, :cond_b
.line 159
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->v:Lsg/bigo/core/mvp/presenter/a;
check-cast v0, Lcom/imo/android/imoim/feeds/ui/home/base/a;
invoke-virtual {v0}, Lcom/imo/android/imoim/feeds/ui/home/base/a;->i()V
.line 161
:cond_b
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->l()V
.line 162
invoke-super {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->j()V
return-void
.end method
.method public k()V
.registers 8
.line 258
invoke-static {}, Lcom/masala/share/eventbus/b;->a()Lcom/masala/share/eventbus/c;
move-result-object v0
const-string v1, "local_event_video_deleted"
const-string v2, "local_event_video_like_changed"
const-string v3, "local_event_video_played"
const-string v4, "local_event_video_share_count_changed"
const-string v5, "local_event_video_save_count_changed"
const-string v6, "local_event_post_info_update"
filled-new-array/range {v1 .. v6}, [Ljava/lang/String;
move-result-object v1
invoke-interface {v0, p0, v1}, Lcom/masala/share/eventbus/c;->a(Lcom/masala/share/eventbus/c$a;[Ljava/lang/String;)V
return-void
.end method
.method public l()V
.registers 2
.line 265
invoke-static {}, Lcom/masala/share/proto/u;->d()Lcom/masala/share/proto/m;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/masala/share/proto/m;->b(Lsg/bigo/svcapi/linkd/ILinkdConnStatListener;)V
.line 266
invoke-static {}, Lcom/masala/share/eventbus/b;->a()Lcom/masala/share/eventbus/c;
move-result-object v0
invoke-interface {v0, p0}, Lcom/masala/share/eventbus/c;->a(Lcom/masala/share/eventbus/c$a;)V
return-void
.end method
.method public onBusEvent(Ljava/lang/String;Landroid/os/Bundle;)V
.registers 4
.line 250
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->v:Lsg/bigo/core/mvp/presenter/a;
if-eqz v0, :cond_b
.line 251
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->v:Lsg/bigo/core/mvp/presenter/a;
check-cast v0, Lcom/imo/android/imoim/feeds/ui/home/base/a;
invoke-virtual {v0, p1, p2}, Lcom/imo/android/imoim/feeds/ui/home/base/a;->a(Ljava/lang/String;Landroid/os/Bundle;)V
:cond_b
return-void
.end method
.method public onLinkdConnCookieChanged(I[B)V
.registers 3
return-void
.end method
.method public onLinkdConnStat(I)V
.registers 3
const/4 v0, 0x2
if-ne p1, v0, :cond_b
.line 272
new-instance p1, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment$5;
invoke-direct {p1, p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment$5;-><init>(Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;)V
invoke-static {p1}, Lsg/bigo/common/ac;->a(Ljava/lang/Runnable;)V
:cond_b
return-void
.end method
.method public abstract p()I
.end method
.method protected final w()V
.registers 3
.line 150
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->c()Z
move-result v0
if-eqz v0, :cond_e
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->m:Lcom/imo/android/imoim/feeds/ui/views/refresh/MaterialRefreshLayout;
if-eqz v0, :cond_e
const/4 v1, 0x0
.line 152
invoke-virtual {v0, v1}, Lcom/imo/android/imoim/feeds/ui/views/refresh/MaterialRefreshLayout;->a(Z)V
:cond_e
return-void
.end method
.method public final x()Z
.registers 7
.line 172
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->i:Lcom/imo/android/imoim/feeds/ui/vhadapter/VHAdapter;
const/4 v1, 0x1
if-eqz v0, :cond_53
invoke-virtual {v0}, Lcom/imo/android/imoim/feeds/ui/vhadapter/VHAdapter;->getItemCount()I
move-result v0
if-nez v0, :cond_c
goto :goto_53
.line 175
:cond_c
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->l:Landroidx/recyclerview/widget/RecyclerView;
.line 1171
invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/utils/rv/a;->c(Landroidx/recyclerview/widget/RecyclerView;)I
move-result v2
.line 1172
invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/utils/rv/a;->a(Landroidx/recyclerview/widget/RecyclerView;)I
move-result v3
.line 1230
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
move-result-object v4
.line 1232
instance-of v5, v4, Landroidx/recyclerview/widget/GridLayoutManager;
if-eqz v5, :cond_24
.line 1233
check-cast v4, Landroidx/recyclerview/widget/GridLayoutManager;
invoke-virtual {v4}, Landroidx/recyclerview/widget/GridLayoutManager;->getSpanCount()I
goto :goto_2d
.line 1234
:cond_24
instance-of v5, v4, Landroidx/recyclerview/widget/StaggeredGridLayoutManager;
if-eqz v5, :cond_2d
.line 1235
check-cast v4, Landroidx/recyclerview/widget/StaggeredGridLayoutManager;
invoke-virtual {v4}, Landroidx/recyclerview/widget/StaggeredGridLayoutManager;->getSpanCount()I
.line 1237
:cond_2d
:goto_2d
invoke-static {}, Lcom/imo/android/imoim/feeds/g/c;->a()Z
if-nez v2, :cond_33
return v1
:cond_33
const/4 v4, 0x0
const/4 v5, -0x1
if-ne v2, v5, :cond_39
if-gtz v3, :cond_52
:cond_39
if-ne v2, v5, :cond_52
if-nez v3, :cond_52
.line 2202
invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/utils/rv/a;->a(Landroidx/recyclerview/widget/RecyclerView;)I
move-result v2
.line 2203
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
move-result-object v0
invoke-virtual {v0, v2}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->findViewByPosition(I)Landroid/view/View;
move-result-object v0
if-eqz v0, :cond_52
.line 1180
invoke-virtual {v0}, Landroid/view/View;->getTop()I
move-result v0
if-nez v0, :cond_52
return v1
:cond_52
return v4
:cond_53
:goto_53
return v1
.end method
.method public final y()V
.registers 5
.line 180
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->l:Landroidx/recyclerview/widget/RecyclerView;
if-eqz v0, :cond_1c
.line 3029
invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/utils/rv/a;->a(Landroidx/recyclerview/widget/RecyclerView;)I
move-result v1
const/4 v2, 0x2
const/4 v3, 0x0
if-ge v1, v2, :cond_11
const/4 v1, 0x1
.line 3044
invoke-static {v0, v3, v1, v3}, Lcom/imo/android/imoim/feeds/ui/utils/rv/a;->a(Landroidx/recyclerview/widget/RecyclerView;IZI)V
return-void
.line 3033
:cond_11
invoke-static {v0, v2, v3, v3}, Lcom/imo/android/imoim/feeds/ui/utils/rv/a;->a(Landroidx/recyclerview/widget/RecyclerView;IZI)V
.line 3034
new-instance v1, Lcom/imo/android/imoim/feeds/ui/utils/rv/a$1;
invoke-direct {v1, v0}, Lcom/imo/android/imoim/feeds/ui/utils/rv/a$1;-><init>(Landroidx/recyclerview/widget/RecyclerView;)V
invoke-virtual {v0, v1}, Landroidx/recyclerview/widget/RecyclerView;->post(Ljava/lang/Runnable;)Z
:cond_1c
return-void
.end method
.method public final z()Z
.registers 2
.line 307
iget-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseVideoFragment;->x:Z
return v0
.end method