BaseUserPostFragment.smali
.class public abstract Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;
.super Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;
.source "SourceFile"
# interfaces
.implements Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$OnRefreshListener;
.implements Lcom/imo/android/imoim/feeds/c/a;
.implements Lcom/imo/android/imoim/feeds/ui/detail/data/d$a;
.implements Lcom/masala/share/eventbus/c$a;
.implements Lsg/bigo/svcapi/linkd/ILinkdConnStatListener;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$a;
}
.end annotation
# instance fields
.field private A:Lcom/masala/share/utils/b/a;
.field private B:Lcom/masala/share/utils/a/a/b;
.field private C:Z
.field private D:Lcom/imo/android/imoim/feeds/ui/home/f;
.field private final E:Ljava/lang/Runnable;
.field protected c:I
.field protected g:Z
.field protected h:Z
.field protected i:Landroid/os/Handler;
.field protected j:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$a;
.field protected k:Lcom/imo/android/imoim/feeds/ui/detail/data/d;
.field protected l:Lcom/masala/share/proto/puller/h;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/masala/share/proto/puller/h<",
"Lcom/masala/share/proto/VideoPost;",
">;"
}
.end annotation
.end field
.field protected m:Lcom/imo/android/imoim/feeds/ui/vhadapter/VHAdapter;
.field protected n:Lcom/imo/android/imoim/feeds/ui/vhadapter/a;
.field protected o:Lcom/masala/share/proto/puller/o$a;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/masala/share/proto/puller/o$a<",
"Lcom/masala/share/proto/VideoPost;",
">;"
}
.end annotation
.end field
.field private p:Z
.field private q:Z
.field private r:Lcom/masala/share/eventbus/e;
.field private s:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
.field private t:Landroidx/recyclerview/widget/RecyclerView;
.field private u:Landroidx/recyclerview/widget/GridLayoutManager;
.field private w:Landroid/view/View;
.field private x:Lcom/masala/share/stat/q;
.field private y:Lcom/masala/share/stat/p;
.field private z:Lcom/masala/share/utils/b/f;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/masala/share/utils/b/f<",
"Lcom/masala/share/proto/VideoPost;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>()V
.registers 4
.line 72
invoke-direct {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;-><init>()V
const/4 v0, 0x1
.line 86
iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->g:Z
const/4 v1, 0x0
.line 87
iput-boolean v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->h:Z
.line 88
iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->p:Z
.line 89
iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->q:Z
.line 91
new-instance v0, Landroid/os/Handler;
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
move-result-object v2
invoke-direct {v0, v2}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
iput-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->i:Landroid/os/Handler;
.line 109
iput-boolean v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->C:Z
.line 111
new-instance v0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$1;
invoke-direct {v0, p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$1;-><init>(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)V
iput-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->D:Lcom/imo/android/imoim/feeds/ui/home/f;
.line 400
new-instance v0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$6;
invoke-direct {v0, p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$6;-><init>(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)V
iput-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->E:Ljava/lang/Runnable;
.line 542
new-instance v0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;
invoke-direct {v0, p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;-><init>(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)V
iput-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->o:Lcom/masala/share/proto/puller/o$a;
return-void
.end method
.method static synthetic a(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
.registers 1
.line 72
iget-object p0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->s:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
return-object p0
.end method
.method static synthetic b(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)Lcom/masala/share/stat/p;
.registers 1
.line 72
iget-object p0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->y:Lcom/masala/share/stat/p;
return-object p0
.end method
.method static synthetic c(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)Landroidx/recyclerview/widget/RecyclerView;
.registers 1
.line 72
iget-object p0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->t:Landroidx/recyclerview/widget/RecyclerView;
return-object p0
.end method
.method static synthetic d(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)V
.registers 4
const/4 v0, 0x0
new-array v1, v0, [Ljava/lang/Object;
const v2, 0x7e0b0094
.line 8496
invoke-static {v2, v1}, Lsg/bigo/mobile/android/aab/c/b;->a(I[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v1
invoke-static {v1}, Lsg/bigo/common/p;->a(Ljava/lang/String;)Z
move-result v1
if-eqz v1, :cond_15
.line 8497
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->l:Lcom/masala/share/proto/puller/h;
invoke-virtual {v1, v0, p0}, Lcom/masala/share/proto/puller/h;->b(ZLcom/imo/android/imoim/feeds/c/a;)Z
:cond_15
return-void
.end method
.method static synthetic e(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)Lcom/masala/share/utils/b/f;
.registers 1
.line 72
iget-object p0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->z:Lcom/masala/share/utils/b/f;
return-object p0
.end method
.method static synthetic f(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)Lcom/masala/share/utils/b/a;
.registers 1
.line 72
iget-object p0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->A:Lcom/masala/share/utils/b/a;
return-object p0
.end method
.method static synthetic g(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)Lcom/masala/share/stat/q;
.registers 1
.line 72
iget-object p0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->x:Lcom/masala/share/stat/q;
return-object p0
.end method
.method static synthetic h(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)Z
.registers 2
const/4 v0, 0x0
.line 72
iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->C:Z
return v0
.end method
.method private i()V
.registers 2
.line 2139
iget-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;->e:Z
if-eqz v0, :cond_15
.line 190
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->a()Z
move-result v0
if-nez v0, :cond_b
goto :goto_15
.line 193
:cond_b
iget-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->q:Z
if-eqz v0, :cond_15
.line 194
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->onRefresh()V
const/4 v0, 0x0
.line 195
iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->q:Z
:cond_15
:goto_15
return-void
.end method
.method static synthetic i(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)Z
.registers 1
.line 72
iget-boolean p0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->C:Z
return p0
.end method
# virtual methods
.method public final Q_()V
.registers 7
.line 158
invoke-super {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;->Q_()V
.line 159
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->s:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
invoke-virtual {v0, p0}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->setOnRefreshListener(Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$OnRefreshListener;)V
.line 160
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->s:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
const/4 v1, 0x1
invoke-virtual {v0, v1}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->setRefreshing(Z)V
.line 161
invoke-direct {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->i()V
.line 162
invoke-static {}, Lcom/masala/share/eventbus/b;->a()Lcom/masala/share/eventbus/c;
move-result-object v0
const-string v1, "local_event_video_like_changed"
const-string v2, "local_event_video_share_count_changed"
const-string v3, "local_event_video_save_count_changed"
const-string v4, "local_event_post_info_update"
const-string v5, "local_event_video_publish"
filled-new-array {v1, v2, v3, v4, v5}, [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
.line 169
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
return-void
.end method
.method public final a(I)V
.registers 3
.line 537
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->u:Landroidx/recyclerview/widget/GridLayoutManager;
if-eqz v0, :cond_7
.line 538
invoke-virtual {v0, p1}, Landroidx/recyclerview/widget/GridLayoutManager;->scrollToPosition(I)V
:cond_7
return-void
.end method
.method public a(IZ)V
.registers 4
.line 503
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->isAdded()Z
move-result p1
if-nez p1, :cond_7
return-void
:cond_7
const/4 p1, 0x0
.line 506
iput-boolean p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->g:Z
.line 507
iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->s:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
invoke-virtual {p2, p1}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->setRefreshing(Z)V
const p2, 0x7e0b0094
new-array v0, p1, [Ljava/lang/Object;
.line 7234
invoke-static {p2, v0}, Lsg/bigo/mobile/android/aab/c/b;->a(I[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p2
.line 7235
invoke-static {p2, p1}, Lsg/bigo/common/ae;->a(Ljava/lang/CharSequence;I)V
.line 509
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->t:Landroidx/recyclerview/widget/RecyclerView;
if-eqz p1, :cond_31
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView;->getAdapter()Landroidx/recyclerview/widget/RecyclerView$Adapter;
move-result-object p1
if-eqz p1, :cond_31
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->t:Landroidx/recyclerview/widget/RecyclerView;
.line 510
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView;->getAdapter()Landroidx/recyclerview/widget/RecyclerView$Adapter;
move-result-object p1
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->getItemCount()I
move-result p1
if-nez p1, :cond_37
.line 511
:cond_31
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->B:Lcom/masala/share/utils/a/a/b;
const/4 p2, 0x1
.line 8047
invoke-virtual {p1, p2}, Lcom/masala/share/utils/a/a/b;->a(I)V
:cond_37
return-void
.end method
.method public a(Z)V
.registers 6
.line 174
invoke-super {p0, p1}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;->a(Z)V
if-eqz p1, :cond_8
.line 176
invoke-direct {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->i()V
:cond_8
const/4 v0, 0x5
.line 178
invoke-static {v0}, Lcom/masala/share/stat/c/i;->j(I)V
if-eqz p1, :cond_1f
.line 1410
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->i:Landroid/os/Handler;
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->E:Ljava/lang/Runnable;
invoke-virtual {v0, v1}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V
.line 1411
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->i:Landroid/os/Handler;
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->E:Ljava/lang/Runnable;
const-wide/16 v2, 0x64
invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z
goto :goto_24
.line 182
:cond_1f
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->x:Lcom/masala/share/stat/q;
invoke-virtual {v0}, Lcom/masala/share/stat/q;->b()V
:goto_24
if-eqz p1, :cond_35
.line 185
invoke-static {}, Lcom/masala/share/stat/ad;->a()Lcom/masala/share/stat/ad;
move-result-object p1
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->g()I
move-result v0
invoke-static {v0}, Lcom/masala/share/stat/ad;->a(I)Ljava/lang/String;
move-result-object v0
invoke-virtual {p1, v0}, Lcom/masala/share/stat/ad;->a(Ljava/lang/String;)V
:cond_35
return-void
.end method
.method public a(ZI)V
.registers 4
.line 517
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->isAdded()Z
move-result p1
if-nez p1, :cond_7
return-void
:cond_7
const/16 p1, 0x1e
const/4 v0, 0x0
if-ge p2, p1, :cond_28
const/4 p1, 0x1
.line 521
iput-boolean p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->h:Z
.line 522
iget-boolean p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->C:Z
if-nez p2, :cond_2c
iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->n:Lcom/imo/android/imoim/feeds/ui/vhadapter/a;
invoke-virtual {p2}, Lcom/imo/android/imoim/feeds/ui/vhadapter/a;->b()I
move-result p2
if-lez p2, :cond_2c
.line 523
iput-boolean p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->C:Z
.line 524
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->n:Lcom/imo/android/imoim/feeds/ui/vhadapter/a;
new-instance p2, Lcom/imo/android/imoim/feeds/ui/home/FooterVBridge$a;
invoke-direct {p2}, Lcom/imo/android/imoim/feeds/ui/home/FooterVBridge$a;-><init>()V
invoke-virtual {p1, p2}, Lcom/imo/android/imoim/feeds/ui/vhadapter/a;->a(Ljava/lang/Object;)V
goto :goto_2c
.line 527
:cond_28
iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->C:Z
.line 528
iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->h:Z
.line 530
:cond_2c
:goto_2c
iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->g:Z
.line 531
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->s:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
invoke-virtual {p1, v0}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->setRefreshing(Z)V
.line 532
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->h()V
return-void
.end method
.method protected e()V
.registers 1
return-void
.end method
.method protected abstract g()I
.end method
.method protected final h()V
.registers 3
.line 468
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->m:Lcom/imo/android/imoim/feeds/ui/vhadapter/VHAdapter;
invoke-virtual {v0}, Lcom/imo/android/imoim/feeds/ui/vhadapter/VHAdapter;->getItemCount()I
move-result v0
if-nez v0, :cond_e
.line 469
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->B:Lcom/masala/share/utils/a/a/b;
const/4 v1, 0x2
.line 7043
invoke-virtual {v0, v1}, Lcom/masala/share/utils/a/a/b;->a(I)V
:cond_e
return-void
.end method
.method public onBusEvent(Ljava/lang/String;Landroid/os/Bundle;)V
.registers 13
.line 422
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->isResumed()Z
move-result v0
if-nez v0, :cond_17
.line 423
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->r:Lcom/masala/share/eventbus/e;
if-nez v0, :cond_11
.line 424
new-instance v0, Lcom/masala/share/eventbus/e;
invoke-direct {v0}, Lcom/masala/share/eventbus/e;-><init>()V
iput-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->r:Lcom/masala/share/eventbus/e;
.line 426
:cond_11
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->r:Lcom/masala/share/eventbus/e;
invoke-virtual {v0, p1, p2}, Lcom/masala/share/eventbus/e;->a(Ljava/lang/String;Landroid/os/Bundle;)V
return-void
:cond_17
if-nez p2, :cond_1a
return-void
:cond_1a
const-string v0, "local_event_video_like_changed"
.line 431
invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
const/4 v1, 0x1
const-string v2, "key_video_post"
const-string v3, "key_video_id"
const-wide/16 v4, 0x0
if-eqz v0, :cond_57
.line 432
invoke-virtual {p2, v3, v4, v5}, Landroid/os/Bundle;->getLong(Ljava/lang/String;J)J
move-result-wide v6
const-string p1, "key_like_id"
.line 433
invoke-virtual {p2, p1, v4, v5}, Landroid/os/Bundle;->getLong(Ljava/lang/String;J)J
move-result-wide v8
.line 434
invoke-virtual {p2, v2}, Landroid/os/Bundle;->getParcelable(Ljava/lang/String;)Landroid/os/Parcelable;
move-result-object p1
check-cast p1, Lcom/masala/share/proto/VideoPost;
.line 435
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->g()I
move-result p2
const/4 v0, 0x2
if-ne p2, v0, :cond_56
cmp-long p2, v8, v4
if-eqz p2, :cond_51
if-eqz p1, :cond_56
.line 438
iget p2, p1, Lcom/masala/share/proto/VideoPost;->f:I
add-int/2addr p2, v1
iput p2, p1, Lcom/masala/share/proto/VideoPost;->f:I
.line 439
iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->l:Lcom/masala/share/proto/puller/h;
invoke-virtual {p2, p1}, Lcom/masala/share/proto/puller/h;->a(Lcom/masala/share/proto/VideoPost;)V
return-void
.line 442
:cond_51
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->l:Lcom/masala/share/proto/puller/h;
invoke-virtual {p1, v6, v7}, Lcom/masala/share/proto/puller/h;->a(J)V
:cond_56
return-void
:cond_57
const-string v0, "local_event_video_share_count_changed"
.line 445
invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_69
.line 446
invoke-virtual {p2, v3, v4, v5}, Landroid/os/Bundle;->getLong(Ljava/lang/String;J)J
move-result-wide p1
.line 447
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->l:Lcom/masala/share/proto/puller/h;
invoke-virtual {v0, p1, p2}, Lcom/masala/share/proto/puller/h;->d(J)V
return-void
:cond_69
const-string v0, "local_event_video_save_count_changed"
.line 448
invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_7b
.line 449
invoke-virtual {p2, v3, v4, v5}, Landroid/os/Bundle;->getLong(Ljava/lang/String;J)J
move-result-wide p1
.line 450
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->l:Lcom/masala/share/proto/puller/h;
invoke-virtual {v0, p1, p2}, Lcom/masala/share/proto/puller/h;->c(J)V
return-void
:cond_7b
const-string v0, "local_event_post_info_update"
.line 451
invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_8f
.line 452
invoke-virtual {p2, v2}, Landroid/os/Bundle;->getParcelable(Ljava/lang/String;)Landroid/os/Parcelable;
move-result-object p1
check-cast p1, Lcom/masala/share/proto/VideoPost;
.line 453
iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->l:Lcom/masala/share/proto/puller/h;
invoke-virtual {p2, p1}, Lcom/masala/share/proto/puller/h;->b(Lcom/masala/share/proto/VideoPost;)V
return-void
:cond_8f
const-string v0, "local_event_video_publish"
.line 454
invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_b8
.line 455
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->g()I
move-result p1
if-ne p1, v1, :cond_b8
iget p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->c:I
invoke-static {p1}, Lcom/masala/share/utils/e/b;->c(I)Z
move-result p1
if-eqz p1, :cond_b8
const-string p1, "key_post_item"
.line 456
invoke-virtual {p2, p1}, Landroid/os/Bundle;->getParcelable(Ljava/lang/String;)Landroid/os/Parcelable;
move-result-object p1
check-cast p1, Lcom/masala/share/proto/model/VideoSimpleItem;
if-eqz p1, :cond_b8
.line 458
iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->l:Lcom/masala/share/proto/puller/h;
invoke-virtual {p1}, Lcom/masala/share/proto/model/VideoSimpleItem;->toVideoPost()Lcom/masala/share/proto/VideoPost;
move-result-object p1
invoke-virtual {p2, p1}, Lcom/masala/share/proto/puller/h;->a(Lcom/masala/share/proto/VideoPost;)V
:cond_b8
return-void
.end method
.method public onCreate(Landroid/os/Bundle;)V
.registers 3
.line 136
invoke-super {p0, p1}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;->onCreate(Landroid/os/Bundle;)V
.line 137
invoke-static {}, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileActivity;->u()Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileActivity$UserProfileBundle;
move-result-object p1
iget p1, p1, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileActivity$UserProfileBundle;->a:I
iput p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->c:I
.line 1145
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->k:Lcom/imo/android/imoim/feeds/ui/detail/data/d;
if-nez p1, :cond_25
.line 1146
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->e()V
.line 1147
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->l:Lcom/masala/share/proto/puller/h;
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->g()I
move-result v0
invoke-static {v0}, Lcom/masala/share/stat/z;->a(I)Ljava/lang/String;
move-result-object v0
.line 1243
iput-object v0, p1, Lcom/masala/share/proto/puller/o;->f:Ljava/lang/String;
.line 1148
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->l:Lcom/masala/share/proto/puller/h;
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->o:Lcom/masala/share/proto/puller/o$a;
invoke-virtual {p1, v0}, Lcom/masala/share/proto/puller/h;->a(Lcom/masala/share/proto/puller/o$a;)Z
.line 1150
:cond_25
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->k:Lcom/imo/android/imoim/feeds/ui/detail/data/d;
invoke-virtual {p1, p0}, Lcom/imo/android/imoim/feeds/ui/detail/data/d;->a(Lcom/imo/android/imoim/feeds/ui/detail/data/d$a;)V
return-void
.end method
.method public onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
.registers 11
.line 211
invoke-virtual {p1}, Landroid/view/LayoutInflater;->getContext()Landroid/content/Context;
move-result-object p1
const/4 p3, 0x0
const v0, 0x7e09002c
invoke-static {p1, v0, p2, p3}, Lsg/bigo/mobile/android/aab/c/b;->a(Landroid/content/Context;ILandroid/view/ViewGroup;Z)Landroid/view/View;
move-result-object p1
const p2, 0x7e080134
.line 212
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object p2
check-cast p2, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
iput-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->s:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
const p2, 0x7e080132
.line 213
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object p2
check-cast p2, Landroidx/recyclerview/widget/RecyclerView;
iput-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->t:Landroidx/recyclerview/widget/RecyclerView;
const p2, 0x7e080136
.line 214
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object p2
iput-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->w:Landroid/view/View;
const/4 p2, 0x1
.line 216
invoke-static {p2}, Lcom/masala/share/utils/l;->a(I)I
move-result v0
if-gtz v0, :cond_33
const/4 v0, 0x1
.line 220
:cond_33
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->t:Landroidx/recyclerview/widget/RecyclerView;
new-instance v2, Lcom/imo/android/imoim/feeds/ui/views/GridSpacingItemDecoration;
int-to-byte v0, v0
const/4 v3, 0x3
invoke-direct {v2, v3, v0, p3}, Lcom/imo/android/imoim/feeds/ui/views/GridSpacingItemDecoration;-><init>(BBZ)V
invoke-virtual {v1, v2}, Landroidx/recyclerview/widget/RecyclerView;->addItemDecoration(Landroidx/recyclerview/widget/RecyclerView$ItemDecoration;)V
.line 222
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->t:Landroidx/recyclerview/widget/RecyclerView;
.line 2288
new-instance v1, Lcom/imo/android/imoim/feeds/ui/user/profile/WrappedGridLayoutManager;
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->getContext()Landroid/content/Context;
move-result-object v2
invoke-direct {v1, v2, v3}, Lcom/imo/android/imoim/feeds/ui/user/profile/WrappedGridLayoutManager;-><init>(Landroid/content/Context;I)V
iput-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->u:Landroidx/recyclerview/widget/GridLayoutManager;
.line 2289
invoke-virtual {v1, p2}, Landroidx/recyclerview/widget/GridLayoutManager;->setOrientation(I)V
.line 2290
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->u:Landroidx/recyclerview/widget/GridLayoutManager;
invoke-virtual {v1, p2}, Landroidx/recyclerview/widget/GridLayoutManager;->setRecycleChildrenOnDetach(Z)V
.line 2291
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->u:Landroidx/recyclerview/widget/GridLayoutManager;
invoke-virtual {v0, v1}, Landroidx/recyclerview/widget/RecyclerView;->setLayoutManager(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)V
.line 2292
invoke-virtual {v0, p2}, Landroidx/recyclerview/widget/RecyclerView;->setHasFixedSize(Z)V
const/4 v1, 0x6
.line 2293
invoke-virtual {v0, v1}, Landroidx/recyclerview/widget/RecyclerView;->setItemViewCacheSize(I)V
.line 2294
invoke-static {}, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileActivity;->u()Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileActivity$UserProfileBundle;
move-result-object v1
iget-object v1, v1, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileActivity$UserProfileBundle;->f:Landroidx/recyclerview/widget/RecyclerView$RecycledViewPool;
invoke-virtual {v0, v1}, Landroidx/recyclerview/widget/RecyclerView;->setRecycledViewPool(Landroidx/recyclerview/widget/RecyclerView$RecycledViewPool;)V
.line 2295
new-instance v1, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$4;
invoke-direct {v1, p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$4;-><init>(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)V
invoke-virtual {v0, v1}, Landroidx/recyclerview/widget/RecyclerView;->addOnScrollListener(Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;)V
.line 2337
new-instance v1, Lcom/imo/android/imoim/feeds/ui/vhadapter/VHAdapter;
invoke-direct {v1}, Lcom/imo/android/imoim/feeds/ui/vhadapter/VHAdapter;-><init>()V
iput-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->m:Lcom/imo/android/imoim/feeds/ui/vhadapter/VHAdapter;
.line 3149
iget-object v1, v1, Lcom/imo/android/imoim/feeds/ui/vhadapter/VHAdapter;->c:Lcom/imo/android/imoim/feeds/ui/vhadapter/a;
.line 2338
iput-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->n:Lcom/imo/android/imoim/feeds/ui/vhadapter/a;
.line 2339
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->m:Lcom/imo/android/imoim/feeds/ui/vhadapter/VHAdapter;
const-class v2, Lcom/masala/share/proto/model/VideoSimpleItem;
new-instance v4, Lcom/imo/android/imoim/feeds/ui/user/profile/UserPostListVHBridge;
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->g()I
move-result v5
iget v6, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->c:I
invoke-direct {v4, v5, v6}, Lcom/imo/android/imoim/feeds/ui/user/profile/UserPostListVHBridge;-><init>(II)V
invoke-virtual {v1, v2, v4}, Lcom/imo/android/imoim/feeds/ui/vhadapter/VHAdapter;->a(Ljava/lang/Class;Lcom/imo/android/imoim/feeds/ui/vhadapter/c;)V
.line 2340
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->m:Lcom/imo/android/imoim/feeds/ui/vhadapter/VHAdapter;
const-class v2, Lcom/imo/android/imoim/feeds/ui/home/FooterVBridge$a;
new-instance v4, Lcom/imo/android/imoim/feeds/ui/home/FooterVBridge;
iget-object v5, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->t:Landroidx/recyclerview/widget/RecyclerView;
invoke-direct {v4, v5}, Lcom/imo/android/imoim/feeds/ui/home/FooterVBridge;-><init>(Landroidx/recyclerview/widget/RecyclerView;)V
invoke-virtual {v1, v2, v4}, Lcom/imo/android/imoim/feeds/ui/vhadapter/VHAdapter;->a(Ljava/lang/Class;Lcom/imo/android/imoim/feeds/ui/vhadapter/c;)V
.line 2341
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->m:Lcom/imo/android/imoim/feeds/ui/vhadapter/VHAdapter;
invoke-virtual {v0, v1}, Landroidx/recyclerview/widget/RecyclerView;->setAdapter(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V
.line 2343
new-instance v1, Lcom/masala/share/utils/b/f;
iget-object v2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->u:Landroidx/recyclerview/widget/GridLayoutManager;
.line 4059
new-instance v4, Lcom/masala/share/utils/b/b;
invoke-direct {v4, v2}, Lcom/masala/share/utils/b/b;-><init>(Landroidx/recyclerview/widget/GridLayoutManager;)V
.line 2344
new-instance v2, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$5;
invoke-direct {v2, p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$5;-><init>(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)V
const v5, 0x3f666666 # 0.9f
invoke-direct {v1, v0, v4, v2, v5}, Lcom/masala/share/utils/b/f;-><init>(Landroidx/recyclerview/widget/RecyclerView;Lcom/masala/share/utils/b/c;Lcom/masala/share/utils/b/f$a;F)V
iput-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->z:Lcom/masala/share/utils/b/f;
.line 2359
new-instance v0, Lcom/masala/share/utils/b/a;
invoke-direct {v0, v1}, Lcom/masala/share/utils/b/a;-><init>(Lcom/masala/share/utils/b/f;)V
iput-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->A:Lcom/masala/share/utils/b/a;
.line 224
new-instance v0, Lcom/masala/share/stat/q;
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->t:Landroidx/recyclerview/widget/RecyclerView;
iget-object v2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->u:Landroidx/recyclerview/widget/GridLayoutManager;
iget-object v4, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->D:Lcom/imo/android/imoim/feeds/ui/home/f;
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->g()I
move-result v5
invoke-static {v5}, Lcom/masala/share/stat/z;->a(I)Ljava/lang/String;
move-result-object v5
invoke-direct {v0, v1, v2, v4, v5}, Lcom/masala/share/stat/q;-><init>(Landroidx/recyclerview/widget/RecyclerView;Landroidx/recyclerview/widget/LinearLayoutManager;Lcom/imo/android/imoim/feeds/ui/home/f;Ljava/lang/String;)V
iput-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->x:Lcom/masala/share/stat/q;
.line 225
new-instance v0, Lcom/masala/share/stat/p;
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->t:Landroidx/recyclerview/widget/RecyclerView;
iget-object v2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->u:Landroidx/recyclerview/widget/GridLayoutManager;
iget-object v4, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->D:Lcom/imo/android/imoim/feeds/ui/home/f;
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->g()I
move-result v5
invoke-static {v5}, Lcom/masala/share/stat/z;->a(I)Ljava/lang/String;
move-result-object v5
invoke-direct {v0, v1, v2, v4, v5}, Lcom/masala/share/stat/p;-><init>(Landroidx/recyclerview/widget/RecyclerView;Landroidx/recyclerview/widget/LinearLayoutManager;Lcom/imo/android/imoim/feeds/ui/home/f;Ljava/lang/String;)V
iput-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->y:Lcom/masala/share/stat/p;
.line 4231
new-instance v0, Lcom/masala/share/utils/a/a/b$a;
invoke-direct {v0}, Lcom/masala/share/utils/a/a/b$a;-><init>()V
new-instance v1, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$2;
invoke-direct {v1, p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$2;-><init>(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)V
.line 4232
invoke-virtual {v0, v1}, Lcom/masala/share/utils/a/a/b$a;->a(Lcom/masala/share/utils/a/a/a;)Lcom/masala/share/utils/a/a/b$a;
move-result-object v0
const/4 v1, 0x0
.line 4247
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->g()I
move-result v2
if-ne v2, p2, :cond_103
.line 4248
new-instance v1, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$3;
invoke-direct {v1, p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$3;-><init>(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)V
goto :goto_139
.line 4275
:cond_103
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->g()I
move-result p2
const/4 v2, 0x2
const v4, 0x7e070052
const/high16 v5, 0x41600000 # 14.0f
if-ne p2, v2, :cond_118
.line 4276
new-instance v1, Lcom/masala/share/utils/a/a;
const p2, 0x7e0b0141
invoke-direct {v1, p2, v4, v5, p3}, Lcom/masala/share/utils/a/a;-><init>(IIFZ)V
goto :goto_139
.line 4277
:cond_118
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->g()I
move-result p2
if-ne p2, v3, :cond_12a
.line 4278
new-instance v1, Lcom/masala/share/utils/a/a;
const p2, 0x7e0b0096
const v2, 0x7e070054
invoke-direct {v1, p2, v2, v5, p3}, Lcom/masala/share/utils/a/a;-><init>(IIFZ)V
goto :goto_139
.line 4279
:cond_12a
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->g()I
move-result p2
const/4 v2, 0x4
if-ne p2, v2, :cond_139
.line 4280
new-instance v1, Lcom/masala/share/utils/a/a;
const p2, 0x7e0b0095
invoke-direct {v1, p2, v4, v5, p3}, Lcom/masala/share/utils/a/a;-><init>(IIFZ)V
:cond_139
:goto_139
if-eqz v1, :cond_13e
.line 4283
invoke-virtual {v0, v1}, Lcom/masala/share/utils/a/a/b$a;->a(Lcom/masala/share/utils/a/a/a;)Lcom/masala/share/utils/a/a/b$a;
.line 4240
:cond_13e
iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->w:Landroid/view/View;
.line 5184
iput-object p2, v0, Lcom/masala/share/utils/a/a/b$a;->b:Landroid/view/View;
.line 4242
invoke-virtual {v0}, Lcom/masala/share/utils/a/a/b$a;->a()Lcom/masala/share/utils/a/a/b;
move-result-object p2
iput-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->B:Lcom/masala/share/utils/a/a/b;
return-object p1
.end method
.method public onDestroy()V
.registers 3
.line 376
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 377
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->l:Lcom/masala/share/proto/puller/h;
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->o:Lcom/masala/share/proto/puller/o$a;
invoke-virtual {v0, v1}, Lcom/masala/share/proto/puller/h;->b(Lcom/masala/share/proto/puller/o$a;)Z
.line 378
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->l:Lcom/masala/share/proto/puller/h;
invoke-virtual {v0}, Lcom/masala/share/proto/puller/h;->j()V
.line 379
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->k:Lcom/imo/android/imoim/feeds/ui/detail/data/d;
invoke-virtual {v0, p0}, Lcom/imo/android/imoim/feeds/ui/detail/data/d;->b(Lcom/imo/android/imoim/feeds/ui/detail/data/d$a;)V
.line 380
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->k:Lcom/imo/android/imoim/feeds/ui/detail/data/d;
.line 6148
iget v0, v0, Lcom/imo/android/imoim/feeds/ui/detail/data/d;->a:I
.line 380
invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/detail/data/d;->d(I)V
.line 381
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
.line 382
invoke-super {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;->onDestroy()V
return-void
.end method
.method public onDestroyView()V
.registers 3
.line 364
invoke-super {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;->onDestroyView()V
.line 365
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->i:Landroid/os/Handler;
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->E:Ljava/lang/Runnable;
invoke-virtual {v0, v1}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V
.line 366
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->s:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
if-eqz v0, :cond_12
const/4 v1, 0x0
.line 367
invoke-virtual {v0, v1}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->setOnRefreshListener(Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$OnRefreshListener;)V
.line 369
:cond_12
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->t:Landroidx/recyclerview/widget/RecyclerView;
if-eqz v0, :cond_19
.line 370
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView;->clearOnScrollListeners()V
:cond_19
return-void
.end method
.method public onLinkdConnStat(I)V
.registers 4
const/4 v0, 0x2
if-ne p1, v0, :cond_12
.line 201
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->l:Lcom/masala/share/proto/puller/h;
invoke-virtual {v1}, Lcom/masala/share/proto/puller/h;->g()Ljava/util/List;
move-result-object v1
invoke-interface {v1}, Ljava/util/List;->isEmpty()Z
move-result v1
if-eqz v1, :cond_12
.line 202
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->onRefresh()V
.line 204
:cond_12
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->m:Lcom/imo/android/imoim/feeds/ui/vhadapter/VHAdapter;
if-eqz v1, :cond_23
invoke-virtual {v1}, Lcom/imo/android/imoim/feeds/ui/vhadapter/VHAdapter;->getItemCount()I
move-result v1
if-lez v1, :cond_23
if-ne p1, v0, :cond_23
.line 205
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->m:Lcom/imo/android/imoim/feeds/ui/vhadapter/VHAdapter;
invoke-virtual {p1}, Lcom/imo/android/imoim/feeds/ui/vhadapter/VHAdapter;->notifyDataSetChanged()V
:cond_23
return-void
.end method
.method public onRefresh()V
.registers 4
.line 475
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->isAdded()Z
move-result v0
if-nez v0, :cond_7
return-void
.line 478
:cond_7
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lsg/bigo/svcapi/util/Utils;->isNetworkAvailable(Landroid/content/Context;)Z
move-result v0
const/4 v1, 0x1
if-nez v0, :cond_34
.line 479
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->s:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
const/4 v2, 0x0
invoke-virtual {v0, v2}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->setRefreshing(Z)V
.line 480
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->t:Landroidx/recyclerview/widget/RecyclerView;
if-eqz v0, :cond_2e
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView;->getAdapter()Landroidx/recyclerview/widget/RecyclerView$Adapter;
move-result-object v0
if-eqz v0, :cond_2e
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->t:Landroidx/recyclerview/widget/RecyclerView;
.line 481
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView;->getAdapter()Landroidx/recyclerview/widget/RecyclerView$Adapter;
move-result-object v0
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->getItemCount()I
move-result v0
if-nez v0, :cond_56
.line 482
:cond_2e
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->B:Lcom/masala/share/utils/a/a/b;
.line 7047
invoke-virtual {v0, v1}, Lcom/masala/share/utils/a/a/b;->a(I)V
return-void
.line 485
:cond_34
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->l:Lcom/masala/share/proto/puller/h;
invoke-virtual {v0, v1, p0}, Lcom/masala/share/proto/puller/h;->b(ZLcom/imo/android/imoim/feeds/c/a;)Z
.line 486
iget-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->q:Z
if-nez v0, :cond_50
.line 487
new-instance v0, Landroid/os/Bundle;
invoke-direct {v0}, Landroid/os/Bundle;-><init>()V
.line 488
iget v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->c:I
const-string v2, "local_event_profile_video_refresh"
invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
.line 489
invoke-static {}, Lcom/masala/share/eventbus/b;->a()Lcom/masala/share/eventbus/c;
move-result-object v1
invoke-interface {v1, v2, v0}, Lcom/masala/share/eventbus/c;->a(Ljava/lang/String;Landroid/os/Bundle;)V
.line 491
:cond_50
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->B:Lcom/masala/share/utils/a/a/b;
const/4 v1, -0x1
.line 7051
invoke-virtual {v0, v1}, Lcom/masala/share/utils/a/a/b;->a(I)V
:cond_56
return-void
.end method
.method public onResume()V
.registers 2
.line 388
invoke-super {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;->onResume()V
.line 389
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->getUserVisibleHint()Z
move-result v0
if-eqz v0, :cond_e
.line 390
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->A:Lcom/masala/share/utils/b/a;
invoke-virtual {v0}, Lcom/masala/share/utils/b/a;->b()V
.line 392
:cond_e
iget-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->p:Z
if-nez v0, :cond_24
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->r:Lcom/masala/share/eventbus/e;
if-eqz v0, :cond_24
.line 7035
iget-object v0, v0, Lcom/masala/share/eventbus/e;->a:Ljava/util/ArrayList;
invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z
move-result v0
if-nez v0, :cond_24
.line 393
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->r:Lcom/masala/share/eventbus/e;
invoke-virtual {v0, p0}, Lcom/masala/share/eventbus/e;->a(Lcom/masala/share/eventbus/c$a;)V
return-void
:cond_24
const/4 v0, 0x0
.line 395
iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->p:Z
return-void
.end method
.method public onStop()V
.registers 2
.line 416
invoke-super {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;->onStop()V
.line 417
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->x:Lcom/masala/share/stat/q;
invoke-virtual {v0}, Lcom/masala/share/stat/q;->b()V
return-void
.end method
.method public setUserVisibleHint(Z)V
.registers 2
.line 128
invoke-super {p0, p1}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;->setUserVisibleHint(Z)V
if-eqz p1, :cond_c
.line 129
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->A:Lcom/masala/share/utils/b/a;
if-eqz p1, :cond_c
.line 130
invoke-virtual {p1}, Lcom/masala/share/utils/b/a;->b()V
:cond_c
return-void
.end method