PopularUserTabsFragment$i.smali

.class final Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment$i;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroidx/lifecycle/Observer;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;->onActivityCreated(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x18
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "<T:",
        "Ljava/lang/Object;",
        ">",
        "Ljava/lang/Object;",
        "Landroidx/lifecycle/Observer<",
        "Lcom/imo/android/imoim/feeds/g<",
        "+",
        "Ljava/util/List<",
        "+",
        "Lcom/masala/share/proto/model/a;",
        ">;>;>;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;)V
    .registers 2

    iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment$i;->a:Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final synthetic onChanged(Ljava/lang/Object;)V
    .registers 6

    .line 31
    check-cast p1, Lcom/imo/android/imoim/feeds/g;

    .line 1066
    invoke-virtual {p1}, Lcom/imo/android/imoim/feeds/g;->a()Z

    move-result v0

    const/4 v1, 0x0

    const/4 v2, 0x1

    if-eqz v0, :cond_67

    .line 2006
    iget-object v0, p1, Lcom/imo/android/imoim/feeds/g;->b:Ljava/lang/Object;

    .line 1067
    check-cast v0, Ljava/util/Collection;

    if-eqz v0, :cond_18

    invoke-interface {v0}, Ljava/util/Collection;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_17

    goto :goto_18

    :cond_17
    const/4 v2, 0x0

    :cond_18
    :goto_18
    if-eqz v2, :cond_25

    .line 1068
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment$i;->a:Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;->a(Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;)Lcom/masala/share/utils/a/a/b;

    move-result-object p1

    const/4 v0, 0x2

    .line 2043
    invoke-virtual {p1, v0}, Lcom/masala/share/utils/a/a/b;->a(I)V

    goto :goto_70

    .line 1070
    :cond_25
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment$i;->a:Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;->a(Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;)Lcom/masala/share/utils/a/a/b;

    move-result-object v0

    const/4 v2, -0x1

    .line 2051
    invoke-virtual {v0, v2}, Lcom/masala/share/utils/a/a/b;->a(I)V

    .line 1071
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment$i;->a:Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;->b(Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;)Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/PopularUserPageVM;

    move-result-object v0

    .line 3006
    iget-object v2, p1, Lcom/imo/android/imoim/feeds/g;->b:Ljava/lang/Object;

    .line 1071
    check-cast v2, Ljava/util/List;

    invoke-static {v2}, Lkotlin/a/k;->f(Ljava/util/List;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/masala/share/proto/model/a;

    .line 3118
    iput-object v2, v0, Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/PopularUserPageVM;->e:Lcom/masala/share/proto/model/a;

    .line 1072
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment$i;->a:Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;->c(Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;)Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsAdapter;

    move-result-object v0

    if-eqz v0, :cond_5b

    .line 4006
    iget-object p1, p1, Lcom/imo/android/imoim/feeds/g;->b:Ljava/lang/Object;

    .line 1072
    check-cast p1, Ljava/util/List;

    .line 4042
    iget-object v2, v0, Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsAdapter;->a:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->clear()V

    if-eqz p1, :cond_5b

    .line 4044
    iget-object v0, v0, Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsAdapter;->a:Ljava/util/List;

    check-cast p1, Ljava/util/Collection;

    invoke-interface {v0, p1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    .line 1073
    :cond_5b
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment$i;->a:Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;->c(Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;)Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsAdapter;

    move-result-object p1

    if-eqz p1, :cond_70

    invoke-virtual {p1}, Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsAdapter;->notifyDataSetChanged()V

    goto :goto_70

    .line 1076
    :cond_67
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment$i;->a:Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;->a(Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;)Lcom/masala/share/utils/a/a/b;

    move-result-object p1

    .line 4047
    invoke-virtual {p1, v2}, Lcom/masala/share/utils/a/a/b;->a(I)V

    .line 1078
    :cond_70
    :goto_70
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment$i;->a:Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;->b(Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;)Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/PopularUserPageVM;

    move-result-object p1

    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment$i;->a:Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;->d(Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;)Ljava/lang/Integer;

    move-result-object v0

    .line 4112
    iput-object v0, p1, Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/PopularUserPageVM;->c:Ljava/lang/Integer;

    .line 1079
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment$i;->a:Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;->b(Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;)Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/PopularUserPageVM;

    move-result-object p1

    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment$i;->a:Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;->e(Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;)Ljava/lang/Integer;

    move-result-object v0

    .line 4115
    iput-object v0, p1, Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/PopularUserPageVM;->d:Ljava/lang/Integer;

    .line 1080
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment$i;->a:Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;->b(Lcom/imo/android/imoim/feeds/ui/recommend/PopularUserTabsFragment;)Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/PopularUserPageVM;

    move-result-object p1

    .line 1081
    invoke-virtual {p1}, Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/PopularUserPageVM;->b()Lcom/masala/share/stat/t;

    move-result-object v0

    .line 5112
    iget-object v2, p1, Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/PopularUserPageVM;->c:Ljava/lang/Integer;

    .line 5115
    iget-object v3, p1, Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/PopularUserPageVM;->d:Ljava/lang/Integer;

    .line 1082
    invoke-virtual {v0, v2, v3}, Lcom/masala/share/stat/t;->a(Ljava/lang/Integer;Ljava/lang/Integer;)V

    .line 5118
    iget-object p1, p1, Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/PopularUserPageVM;->e:Lcom/masala/share/proto/model/a;

    const/4 v2, 0x0

    if-eqz p1, :cond_a5

    .line 6014
    iget-object p1, p1, Lcom/masala/share/proto/model/a;->d:Ljava/lang/String;

    goto :goto_a6

    :cond_a5
    move-object p1, v2

    .line 1083
    :goto_a6
    invoke-virtual {v0, p1}, Lcom/masala/share/stat/t;->a(Ljava/lang/String;)V

    const/16 p1, 0x9

    const/16 v3, 0xc

    .line 1084
    invoke-static {v0, p1, v1, v2, v3}, Lcom/masala/share/stat/t;->a(Lcom/masala/share/stat/t;BILjava/lang/Integer;I)V

    return-void
.end method