UserProfileFragment.smali

.class public Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;
.super Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;
.source "SourceFile"

# interfaces
.implements Lcom/google/android/material/appbar/AppBarLayout$OnOffsetChangedListener;
.implements Lcom/masala/share/eventbus/c$a;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$b;,
        Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$a;
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment<",
        "Lcom/imo/android/imoim/feeds/ui/user/profile/c;",
        ">;",
        "Lcom/google/android/material/appbar/AppBarLayout$OnOffsetChangedListener;",
        "Lcom/masala/share/eventbus/c$a;"
    }
.end annotation


# static fields
.field public static final c:I


# instance fields
.field public g:Landroidx/viewpager/widget/ViewPager;

.field public h:Lcom/imo/android/imoim/feeds/ui/views/ProfileHeaderView;

.field public i:Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$b;

.field j:Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$a;

.field k:J

.field private l:I

.field private m:Lcom/masala/share/proto/UserInfoStruct;

.field private n:Lcom/imo/android/imoim/widgets/PagerSlidingTabStrip;

.field private o:Z

.field private p:Z


# direct methods
.method static constructor <clinit>()V
    .registers 1

    const/16 v0, 0x64

    .line 63
    invoke-static {v0}, Lcom/masala/share/utils/l;->a(I)I

    move-result v0

    sput v0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->c:I

    return-void
.end method

.method public constructor <init>()V
    .registers 3

    .line 59
    invoke-direct {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;-><init>()V

    const/4 v0, 0x0

    .line 71
    iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->o:Z

    .line 258
    iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->p:Z

    const-wide/16 v0, 0x0

    .line 316
    iput-wide v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->k:J

    return-void
.end method

.method static synthetic a(Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;Lcom/masala/share/proto/UserInfoStruct;)Lcom/masala/share/proto/UserInfoStruct;
    .registers 2

    .line 59
    iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->m:Lcom/masala/share/proto/UserInfoStruct;

    return-object p1
.end method

.method static synthetic a(Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;)Z
    .registers 2

    const/4 v0, 0x1

    .line 59
    iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->o:Z

    return v0
.end method

.method static synthetic b(Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;)I
    .registers 1

    .line 59
    iget p0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->l:I

    return p0
.end method

.method static synthetic c(Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;)Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$a;
    .registers 1

    .line 59
    iget-object p0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->j:Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$a;

    return-object p0
.end method

.method static synthetic d(Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;)Lcom/masala/share/proto/UserInfoStruct;
    .registers 1

    .line 59
    iget-object p0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->m:Lcom/masala/share/proto/UserInfoStruct;

    return-object p0
.end method

.method static synthetic e(Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;)Z
    .registers 1

    .line 59
    iget-boolean p0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->p:Z

    return p0
.end method

.method static synthetic f(Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;)Z
    .registers 2

    const/4 v0, 0x1

    .line 59
    iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->p:Z

    return v0
.end method

.method static synthetic g(Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;)Lcom/imo/android/imoim/widgets/PagerSlidingTabStrip;
    .registers 1

    .line 59
    iget-object p0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->n:Lcom/imo/android/imoim/widgets/PagerSlidingTabStrip;

    return-object p0
.end method

.method private g()V
    .registers 3

    .line 213
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->v:Lsg/bigo/core/mvp/presenter/a;

    if-eqz v0, :cond_1f

    .line 214
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->v:Lsg/bigo/core/mvp/presenter/a;

    check-cast v0, Lcom/imo/android/imoim/feeds/ui/user/profile/c;

    iget v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->l:I

    invoke-virtual {v0, v1}, Lcom/imo/android/imoim/feeds/ui/user/profile/c;->c(I)V

    .line 215
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->v:Lsg/bigo/core/mvp/presenter/a;

    check-cast v0, Lcom/imo/android/imoim/feeds/ui/user/profile/c;

    iget v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->l:I

    invoke-virtual {v0, v1}, Lcom/imo/android/imoim/feeds/ui/user/profile/c;->b(I)V

    .line 216
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->v:Lsg/bigo/core/mvp/presenter/a;

    check-cast v0, Lcom/imo/android/imoim/feeds/ui/user/profile/c;

    iget v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->l:I

    invoke-virtual {v0, v1}, Lcom/imo/android/imoim/feeds/ui/user/profile/c;->e(I)V

    :cond_1f
    return-void
.end method

.method static synthetic h(Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;)Z
    .registers 1

    .line 59
    iget-boolean p0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->o:Z

    return p0
.end method


# virtual methods
.method public final Q_()V
    .registers 6

    .line 148
    invoke-super {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;->Q_()V

    .line 149
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->v:Lsg/bigo/core/mvp/presenter/a;

    if-nez v0, :cond_20

    .line 150
    new-instance v0, Lcom/imo/android/imoim/feeds/ui/user/profile/c;

    invoke-direct {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/c;-><init>()V

    iput-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->v:Lsg/bigo/core/mvp/presenter/a;

    .line 151
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->v:Lsg/bigo/core/mvp/presenter/a;

    check-cast v0, Lcom/imo/android/imoim/feeds/ui/user/profile/c;

    invoke-virtual {v0, p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/c;->a(Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;)V

    .line 152
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->h:Lcom/imo/android/imoim/feeds/ui/views/ProfileHeaderView;

    if-eqz v0, :cond_20

    .line 153
    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->v:Lsg/bigo/core/mvp/presenter/a;

    check-cast v1, Lcom/imo/android/imoim/feeds/ui/user/profile/c;

    invoke-virtual {v0, p0, v1}, Lcom/imo/android/imoim/feeds/ui/views/ProfileHeaderView;->a(Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;Lcom/imo/android/imoim/feeds/ui/user/profile/c;)V

    .line 156
    :cond_20
    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 157
    invoke-direct {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->g()V

    .line 158
    iget v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->l:I

    invoke-static {v0}, Lcom/masala/share/utils/e/b;->c(I)Z

    move-result v0

    if-eqz v0, :cond_83

    .line 159
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->v:Lsg/bigo/core/mvp/presenter/a;

    check-cast v0, Lcom/imo/android/imoim/feeds/ui/user/profile/c;

    .line 1254
    new-instance v1, Lcom/imo/android/imoim/feeds/ui/user/profile/c$7;

    invoke-direct {v1, v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/c$7;-><init>(Lcom/imo/android/imoim/feeds/ui/user/profile/c;)V

    :try_start_3b
    const-string v0, "UserInfoLet"

    const-string v2, "AppUserMgr#syncMyUserInfo"

    .line 3110
    invoke-static {v0, v2}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 3111
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 3112
    invoke-static {}, Lcom/masala/share/proto/b/c;->b()I

    move-result v2

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 3114
    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    .line 3115
    sget-object v3, Lcom/masala/share/proto/user/a;->b:Ljava/util/ArrayList;

    invoke-virtual {v2, v3}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    const-string v3, "telphone"

    .line 3116
    invoke-virtual {v2, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    const-string v3, "registertime"

    .line 3117
    invoke-virtual {v2, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    const/4 v3, 0x0

    .line 3119
    new-instance v4, Lcom/masala/share/proto/user/e$1;

    invoke-direct {v4, v1}, Lcom/masala/share/proto/user/e$1;-><init>(Lcom/masala/share/ui/user/a$b;)V

    invoke-static {v0, v2, v3, v4}, Lcom/masala/share/proto/user/e;->a(Ljava/util/List;Ljava/util/ArrayList;Ljava/util/Map;Lcom/masala/share/ui/user/a$a;)V
    :try_end_6f
    .catch Lcom/masala/share/proto/YYServiceUnboundException; {:try_start_3b .. :try_end_6f} :catch_70

    return-void

    :catch_70
    const-string v0, "AppUserLet"

    const-string v2, "syncMyUserInfo remote ex"

    .line 2130
    invoke-static {v0, v2}, Lsg/bigo/log/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    .line 4103
    new-instance v0, Lcom/masala/share/utils/h$5;

    const/4 v2, 0x0

    const/16 v3, 0x9

    invoke-direct {v0, v2, v1, v3}, Lcom/masala/share/utils/h$5;-><init>(ZLcom/masala/share/ui/user/a$b;I)V

    invoke-static {v0}, Lcom/imo/android/imoim/util/ec;->a(Ljava/lang/Runnable;)V

    return-void

    .line 161
    :cond_83
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->v:Lsg/bigo/core/mvp/presenter/a;

    check-cast v0, Lcom/imo/android/imoim/feeds/ui/user/profile/c;

    iget v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->l:I

    invoke-virtual {v0, v1}, Lcom/imo/android/imoim/feeds/ui/user/profile/c;->a(I)V

    return-void
.end method

.method final e()V
    .registers 2

    .line 319
    new-instance v0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$5;

    invoke-direct {v0, p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$5;-><init>(Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;)V

    invoke-static {v0}, Lsg/bigo/common/ac;->a(Ljava/lang/Runnable;)V

    return-void
.end method

.method public onBusEvent(Ljava/lang/String;Landroid/os/Bundle;)V
    .registers 9

    const-string v0, "local_event_add_follow"

    .line 174
    invoke-static {p1, v0}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_36

    if-eqz p2, :cond_113

    .line 175
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->v:Lsg/bigo/core/mvp/presenter/a;

    if-eqz p1, :cond_113

    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->h:Lcom/imo/android/imoim/feeds/ui/views/ProfileHeaderView;

    if-eqz p1, :cond_113

    .line 176
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->v:Lsg/bigo/core/mvp/presenter/a;

    check-cast p1, Lcom/imo/android/imoim/feeds/ui/user/profile/c;

    iget v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->l:I

    const-string v1, "key_add_follow_uids"

    invoke-virtual {p2, v1}, Landroid/os/Bundle;->getIntegerArrayList(Ljava/lang/String;)Ljava/util/ArrayList;

    move-result-object p2

    invoke-virtual {p1, v0, p2}, Lcom/imo/android/imoim/feeds/ui/user/profile/c;->a(ILjava/util/List;)V

    .line 177
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->h:Lcom/imo/android/imoim/feeds/ui/views/ProfileHeaderView;

    .line 4453
    iget-boolean p2, p1, Lcom/imo/android/imoim/feeds/ui/views/ProfileHeaderView;->h:Z

    if-nez p2, :cond_35

    iget-boolean p2, p1, Lcom/imo/android/imoim/feeds/ui/views/ProfileHeaderView;->i:Z

    if-nez p2, :cond_35

    iget-boolean p2, p1, Lcom/imo/android/imoim/feeds/ui/views/ProfileHeaderView;->j:Z

    if-eqz p2, :cond_35

    .line 4454
    invoke-virtual {p1}, Lcom/imo/android/imoim/feeds/ui/views/ProfileHeaderView;->a()V

    const/4 p2, 0x0

    .line 4455
    iput-boolean p2, p1, Lcom/imo/android/imoim/feeds/ui/views/ProfileHeaderView;->j:Z

    :cond_35
    return-void

    :cond_36
    const-string v0, "local_event_delete_follow"

    .line 179
    invoke-static {p1, v0}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_54

    if-eqz p2, :cond_113

    .line 180
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->v:Lsg/bigo/core/mvp/presenter/a;

    if-eqz p1, :cond_113

    .line 181
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->v:Lsg/bigo/core/mvp/presenter/a;

    check-cast p1, Lcom/imo/android/imoim/feeds/ui/user/profile/c;

    iget v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->l:I

    const-string v1, "key_delete_follow_uids"

    invoke-virtual {p2, v1}, Landroid/os/Bundle;->getIntegerArrayList(Ljava/lang/String;)Ljava/util/ArrayList;

    move-result-object p2

    invoke-virtual {p1, v0, p2}, Lcom/imo/android/imoim/feeds/ui/user/profile/c;->a(ILjava/util/List;)V

    return-void

    :cond_54
    const-string v0, "local_event_sync_user_info"

    .line 183
    invoke-static {v0, p1}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_72

    .line 185
    iget p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->l:I

    invoke-static {p1}, Lcom/masala/share/utils/e/b;->c(I)Z

    move-result p1

    if-eqz p1, :cond_113

    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->v:Lsg/bigo/core/mvp/presenter/a;

    if-eqz p1, :cond_113

    .line 186
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->v:Lsg/bigo/core/mvp/presenter/a;

    check-cast p1, Lcom/imo/android/imoim/feeds/ui/user/profile/c;

    iget p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->l:I

    invoke-virtual {p1, p2}, Lcom/imo/android/imoim/feeds/ui/user/profile/c;->c(I)V

    return-void

    :cond_72
    const-string v0, "local_event_video_like_changed"

    .line 188
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    const/4 v1, 0x1

    if-eqz v0, :cond_b4

    if-eqz p2, :cond_113

    const-wide/16 v2, 0x0

    const-string p1, "key_video_id"

    .line 190
    invoke-virtual {p2, p1, v2, v3}, Landroid/os/Bundle;->getLong(Ljava/lang/String;J)J

    move-result-wide v4

    const-string p1, "key_like_id"

    .line 191
    invoke-virtual {p2, p1, v2, v3}, Landroid/os/Bundle;->getLong(Ljava/lang/String;J)J

    move-result-wide p1

    cmp-long v0, v4, v2

    if-eqz v0, :cond_b3

    const-wide/16 v4, -0x1

    cmp-long v0, p1, v4

    if-eqz v0, :cond_b3

    .line 192
    iget v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->l:I

    invoke-static {v0}, Lcom/masala/share/utils/e/b;->c(I)Z

    move-result v0

    if-eqz v0, :cond_b3

    cmp-long v0, p1, v2

    if-eqz v0, :cond_a2

    goto :goto_a3

    :cond_a2
    const/4 v1, -0x1

    .line 194
    :goto_a3
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->i:Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$b;

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$b;->a(Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$b;)I

    move-result p2

    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->i:Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$b;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$b;->b(Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$b;)I

    move-result v0

    add-int/2addr v0, v1

    invoke-static {p1, p2, v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$b;->a(Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$b;II)V

    :cond_b3
    return-void

    :cond_b4
    const-string v0, "local_event_profile_video_refresh"

    .line 197
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_d2

    .line 198
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->v:Lsg/bigo/core/mvp/presenter/a;

    if-eqz p1, :cond_113

    invoke-virtual {p2, v0}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I

    move-result p1

    iget p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->l:I

    if-ne p1, p2, :cond_113

    .line 199
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->v:Lsg/bigo/core/mvp/presenter/a;

    check-cast p1, Lcom/imo/android/imoim/feeds/ui/user/profile/c;

    iget p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->l:I

    invoke-virtual {p1, p2}, Lcom/imo/android/imoim/feeds/ui/user/profile/c;->b(I)V

    return-void

    :cond_d2
    const-string p2, "local_event_video_publish"

    .line 201
    invoke-virtual {p2, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p2

    if-eqz p2, :cond_f3

    .line 202
    iget p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->l:I

    invoke-static {p1}, Lcom/masala/share/utils/e/b;->c(I)Z

    move-result p1

    if-eqz p1, :cond_113

    .line 203
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->i:Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$b;

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$b;->a(Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$b;)I

    move-result p2

    add-int/2addr p2, v1

    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->i:Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$b;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$b;->b(Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$b;)I

    move-result v0

    invoke-static {p1, p2, v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$b;->a(Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$b;II)V

    return-void

    :cond_f3
    const-string p2, "local_event_video_deleted"

    .line 205
    invoke-virtual {p2, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_113

    .line 206
    iget p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->l:I

    invoke-static {p1}, Lcom/masala/share/utils/e/b;->c(I)Z

    move-result p1

    if-eqz p1, :cond_113

    .line 207
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->i:Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$b;

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$b;->a(Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$b;)I

    move-result p2

    sub-int/2addr p2, v1

    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->i:Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$b;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$b;->b(Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$b;)I

    move-result v0

    invoke-static {p1, p2, v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$b;->a(Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$b;II)V

    :cond_113
    return-void
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .registers 3

    .line 81
    invoke-super {p0, p1}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;->onCreate(Landroid/os/Bundle;)V

    .line 1012
    invoke-static {}, Lcom/imo/android/imoim/fresco/c;->a()V

    .line 83
    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

    .line 84
    iget v0, p1, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileActivity$UserProfileBundle;->a:I

    iput v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->l:I

    .line 85
    iget-object p1, p1, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileActivity$UserProfileBundle;->e:Lcom/masala/share/proto/UserInfoStruct;

    iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->m:Lcom/masala/share/proto/UserInfoStruct;

    return-void
.end method

.method public onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .registers 5

    .line 90
    invoke-virtual {p1}, Landroid/view/LayoutInflater;->getContext()Landroid/content/Context;

    move-result-object p1

    const p3, 0x7e09002b

    const/4 v0, 0x0

    invoke-static {p1, p3, p2, v0}, Lsg/bigo/mobile/android/aab/c/b;->a(Landroid/content/Context;ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object p1

    return-object p1
.end method

.method public onDestroy()V
    .registers 2

    .line 167
    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 168
    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 169
    invoke-super {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;->onDestroy()V

    return-void
.end method

.method public onLinkdConnStat(I)V
    .registers 3

    const/4 v0, 0x2

    if-ne p1, v0, :cond_6

    .line 224
    invoke-direct {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->g()V

    :cond_6
    return-void
.end method

.method public onOffsetChanged(Lcom/google/android/material/appbar/AppBarLayout;I)V
    .registers 4

    .line 76
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->j:Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$a;

    invoke-virtual {p1}, Lcom/google/android/material/appbar/AppBarLayout;->getTotalScrollRange()I

    move-result p1

    if-eqz p1, :cond_12

    invoke-static {p2}, Ljava/lang/Math;->abs(I)I

    move-result p1

    sget p2, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->c:I

    if-lt p1, p2, :cond_12

    const/4 p1, 0x1

    goto :goto_13

    :cond_12
    const/4 p1, 0x0

    :goto_13
    invoke-interface {v0, p1}, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$a;->b(Z)V

    return-void
.end method

.method public onPause()V
    .registers 2

    .line 239
    invoke-static {}, Lcom/imo/android/imoim/feeds/e/l;->d()Lcom/imo/android/imoim/feeds/e/l;

    move-result-object v0

    invoke-virtual {v0}, Lcom/imo/android/imoim/feeds/e/l;->e()V

    .line 240
    invoke-super {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;->onPause()V

    return-void
.end method

.method public onResume()V
    .registers 4

    .line 230
    invoke-static {}, Lcom/imo/android/imoim/feeds/e/l;->d()Lcom/imo/android/imoim/feeds/e/l;

    move-result-object v0

    .line 5281
    invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J

    move-result-wide v1

    iput-wide v1, v0, Lcom/imo/android/imoim/feeds/e/l;->e:J

    .line 231
    invoke-super {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;->onResume()V

    .line 232
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->v:Lsg/bigo/core/mvp/presenter/a;

    if-eqz v0, :cond_1a

    .line 233
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->v:Lsg/bigo/core/mvp/presenter/a;

    check-cast v0, Lcom/imo/android/imoim/feeds/ui/user/profile/c;

    iget v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->l:I

    invoke-virtual {v0, v1}, Lcom/imo/android/imoim/feeds/ui/user/profile/c;->d(I)V

    :cond_1a
    return-void
.end method

.method public onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
    .registers 13

    .line 95
    invoke-super {p0, p1, p2}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;->onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V

    .line 96
    new-instance p2, Lcom/imo/android/imoim/feeds/ui/user/profile/c;

    invoke-direct {p2}, Lcom/imo/android/imoim/feeds/ui/user/profile/c;-><init>()V

    iput-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->v:Lsg/bigo/core/mvp/presenter/a;

    .line 97
    iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->v:Lsg/bigo/core/mvp/presenter/a;

    check-cast p2, Lcom/imo/android/imoim/feeds/ui/user/profile/c;

    invoke-virtual {p2, p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/c;->a(Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;)V

    const p2, 0x7e080124

    .line 98
    invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p2

    check-cast p2, Lcom/imo/android/imoim/feeds/ui/views/ProfileHeaderView;

    iput-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->h:Lcom/imo/android/imoim/feeds/ui/views/ProfileHeaderView;

    .line 99
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->v:Lsg/bigo/core/mvp/presenter/a;

    check-cast v0, Lcom/imo/android/imoim/feeds/ui/user/profile/c;

    invoke-virtual {p2, p0, v0}, Lcom/imo/android/imoim/feeds/ui/views/ProfileHeaderView;->a(Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;Lcom/imo/android/imoim/feeds/ui/user/profile/c;)V

    const p2, 0x7e0801e2

    .line 101
    invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p2

    check-cast p2, Landroidx/viewpager/widget/ViewPager;

    iput-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->g:Landroidx/viewpager/widget/ViewPager;

    const p2, 0x7e08014b

    .line 102
    invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p2

    check-cast p2, Lcom/imo/android/imoim/widgets/PagerSlidingTabStrip;

    iput-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->n:Lcom/imo/android/imoim/widgets/PagerSlidingTabStrip;

    .line 103
    iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->g:Landroidx/viewpager/widget/ViewPager;

    const/4 v0, 0x2

    invoke-virtual {p2, v0}, Landroidx/viewpager/widget/ViewPager;->setOverScrollMode(I)V

    .line 104
    new-instance p2, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$b;

    invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->getChildFragmentManager()Landroidx/fragment/app/FragmentManager;

    move-result-object v1

    const/4 v2, 0x0

    invoke-direct {p2, p0, v1, v2}, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$b;-><init>(Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;Landroidx/fragment/app/FragmentManager;B)V

    iput-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->i:Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$b;

    .line 105
    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->g:Landroidx/viewpager/widget/ViewPager;

    invoke-virtual {v1, p2}, Landroidx/viewpager/widget/ViewPager;->setAdapter(Landroidx/viewpager/widget/PagerAdapter;)V

    .line 106
    iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->n:Lcom/imo/android/imoim/widgets/PagerSlidingTabStrip;

    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->g:Landroidx/viewpager/widget/ViewPager;

    invoke-virtual {p2, v1}, Lcom/imo/android/imoim/widgets/PagerSlidingTabStrip;->setupWithViewPager(Landroidx/viewpager/widget/ViewPager;)V

    .line 107
    iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->n:Lcom/imo/android/imoim/widgets/PagerSlidingTabStrip;

    new-instance v1, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$1;

    invoke-direct {v1, p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$1;-><init>(Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;)V

    invoke-virtual {p2, v1}, Lcom/imo/android/imoim/widgets/PagerSlidingTabStrip;->a(Lcom/imo/android/imoim/widgets/PagerSlidingTabStrip$g;)V

    .line 123
    iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->g:Landroidx/viewpager/widget/ViewPager;

    invoke-virtual {p2, v0}, Landroidx/viewpager/widget/ViewPager;->setOffscreenPageLimit(I)V

    .line 124
    iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->g:Landroidx/viewpager/widget/ViewPager;

    new-instance v1, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$2;

    invoke-direct {v1, p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment$2;-><init>(Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;)V

    invoke-virtual {p2, v1}, Landroidx/viewpager/widget/ViewPager;->addOnPageChangeListener(Landroidx/viewpager/widget/ViewPager$OnPageChangeListener;)V

    const p2, 0x7e080002

    .line 132
    invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Lcom/google/android/material/appbar/AppBarLayout;

    invoke-virtual {p1, p0}, Lcom/google/android/material/appbar/AppBarLayout;->addOnOffsetChangedListener(Lcom/google/android/material/appbar/AppBarLayout$OnOffsetChangedListener;)V

    .line 133
    invoke-static {}, Lcom/masala/share/eventbus/b;->a()Lcom/masala/share/eventbus/c;

    move-result-object p1

    const-string v3, "local_event_sync_user_info"

    const-string v4, "local_event_add_follow"

    const-string v5, "local_event_delete_follow"

    const-string v6, "local_event_profile_video_refresh"

    const-string v7, "local_event_video_like_changed"

    const-string v8, "local_event_video_publish"

    const-string v9, "local_event_video_deleted"

    filled-new-array/range {v3 .. v9}, [Ljava/lang/String;

    move-result-object p2

    invoke-interface {p1, p0, p2}, Lcom/masala/share/eventbus/c;->a(Lcom/masala/share/eventbus/c$a;[Ljava/lang/String;)V

    .line 141
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->h:Lcom/imo/android/imoim/feeds/ui/views/ProfileHeaderView;

    iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->m:Lcom/masala/share/proto/UserInfoStruct;

    iget v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->l:I

    invoke-virtual {p1, p2, v1}, Lcom/imo/android/imoim/feeds/ui/views/ProfileHeaderView;->a(Lcom/masala/share/proto/UserInfoStruct;I)V

    .line 142
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileFragment;->h:Lcom/imo/android/imoim/feeds/ui/views/ProfileHeaderView;

    .line 1234
    iget p2, p1, Lcom/imo/android/imoim/feeds/ui/views/ProfileHeaderView;->a:I

    invoke-static {p2}, Lcom/masala/share/utils/e/b;->c(I)Z

    move-result p2

    if-eqz p2, :cond_b0

    .line 1236
    iget-object p1, p1, Lcom/imo/android/imoim/feeds/ui/views/ProfileHeaderView;->c:Lcom/imo/android/imoim/feeds/ui/widget/followbutton/AbsFollowButton;

    const/16 p2, 0x8

    invoke-virtual {p1, p2}, Lcom/imo/android/imoim/feeds/ui/widget/followbutton/AbsFollowButton;->setVisibility(I)V

    return-void

    .line 1238
    :cond_b0
    iget-object p2, p1, Lcom/imo/android/imoim/feeds/ui/views/ProfileHeaderView;->d:Landroid/widget/LinearLayout;

    invoke-virtual {p2, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 1239
    iget-object p2, p1, Lcom/imo/android/imoim/feeds/ui/views/ProfileHeaderView;->c:Lcom/imo/android/imoim/feeds/ui/widget/followbutton/AbsFollowButton;

    invoke-virtual {p2, v2}, Lcom/imo/android/imoim/feeds/ui/widget/followbutton/AbsFollowButton;->setVisibility(I)V

    .line 1240
    iget-object p2, p1, Lcom/imo/android/imoim/feeds/ui/views/ProfileHeaderView;->c:Lcom/imo/android/imoim/feeds/ui/widget/followbutton/AbsFollowButton;

    invoke-virtual {p2, p1}, Lcom/imo/android/imoim/feeds/ui/widget/followbutton/AbsFollowButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 1241
    invoke-virtual {p1}, Lcom/imo/android/imoim/feeds/ui/views/ProfileHeaderView;->getContext()Landroid/content/Context;

    move-result-object p2

    invoke-static {p2}, Lcom/imo/android/imoim/feeds/ui/user/profile/b;->a(Landroid/content/Context;)Lcom/imo/android/imoim/feeds/ui/user/profile/b;

    move-result-object p2

    iget v1, p1, Lcom/imo/android/imoim/feeds/ui/views/ProfileHeaderView;->a:I

    iget-object p1, p1, Lcom/imo/android/imoim/feeds/ui/views/ProfileHeaderView;->c:Lcom/imo/android/imoim/feeds/ui/widget/followbutton/AbsFollowButton;

    .line 1242
    invoke-virtual {p2, v0, v1, p1}, Lcom/imo/android/imoim/feeds/ui/user/profile/b;->a(IILcom/imo/android/imoim/feeds/ui/widget/followbutton/AbsFollowButton;)V

    return-void
.end method