ResEntryComponent$b.smali

.class final Lsg/bigo/live/support64/component/resource/ResEntryComponent$b;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroidx/lifecycle/Observer;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lsg/bigo/live/support64/component/resource/ResEntryComponent;
.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<",
        "Ljava/util/List<",
        "+",
        "Lsg/bigo/live/support64/component/resource/model/ResEntranceInfo;",
        ">;>;"
    }
.end annotation


# instance fields
.field final synthetic a:Lsg/bigo/live/support64/component/resource/ResEntryComponent;


# direct methods
.method constructor <init>(Lsg/bigo/live/support64/component/resource/ResEntryComponent;)V
    .registers 2

    iput-object p1, p0, Lsg/bigo/live/support64/component/resource/ResEntryComponent$b;->a:Lsg/bigo/live/support64/component/resource/ResEntryComponent;

    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 32
    check-cast p1, Ljava/util/List;

    if-eqz p1, :cond_90

    .line 1149
    move-object v0, p1

    check-cast v0, Ljava/util/Collection;

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

    move-result v0

    xor-int/lit8 v0, v0, 0x1

    const-string v1, "mActivityServiceWrapper"

    if-eqz v0, :cond_67

    iget-object v0, p0, Lsg/bigo/live/support64/component/resource/ResEntryComponent$b;->a:Lsg/bigo/live/support64/component/resource/ResEntryComponent;

    invoke-static {v0}, Lsg/bigo/live/support64/component/resource/ResEntryComponent;->a(Lsg/bigo/live/support64/component/resource/ResEntryComponent;)Landroid/view/View;

    move-result-object v0

    if-nez v0, :cond_67

    .line 1150
    iget-object v0, p0, Lsg/bigo/live/support64/component/resource/ResEntryComponent$b;->a:Lsg/bigo/live/support64/component/resource/ResEntryComponent;

    invoke-static {v0}, Lsg/bigo/live/support64/component/resource/ResEntryComponent;->b(Lsg/bigo/live/support64/component/resource/ResEntryComponent;)Lsg/bigo/live/support64/component/a;

    move-result-object v0

    const v2, 0x7d080003

    invoke-interface {v0, v2}, Lsg/bigo/live/support64/component/a;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/view/ViewStub;

    .line 1151
    iget-object v2, p0, Lsg/bigo/live/support64/component/resource/ResEntryComponent$b;->a:Lsg/bigo/live/support64/component/resource/ResEntryComponent;

    invoke-static {v0}, Lsg/bigo/mobile/android/aab/c/b;->a(Landroid/view/ViewStub;)Landroid/view/View;

    move-result-object v0

    invoke-static {v2, v0}, Lsg/bigo/live/support64/component/resource/ResEntryComponent;->a(Lsg/bigo/live/support64/component/resource/ResEntryComponent;Landroid/view/View;)V

    .line 1152
    iget-object v0, p0, Lsg/bigo/live/support64/component/resource/ResEntryComponent$b;->a:Lsg/bigo/live/support64/component/resource/ResEntryComponent;

    invoke-static {v0}, Lsg/bigo/live/support64/component/resource/ResEntryComponent;->b(Lsg/bigo/live/support64/component/resource/ResEntryComponent;)Lsg/bigo/live/support64/component/a;

    move-result-object v2

    const v3, 0x7d080261

    invoke-interface {v2, v3}, Lsg/bigo/live/support64/component/a;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Lsg/bigo/live/support64/component/resource/view/ResEntranceView;

    invoke-static {v0, v2}, Lsg/bigo/live/support64/component/resource/ResEntryComponent;->a(Lsg/bigo/live/support64/component/resource/ResEntryComponent;Lsg/bigo/live/support64/component/resource/view/ResEntranceView;)V

    .line 1153
    iget-object v0, p0, Lsg/bigo/live/support64/component/resource/ResEntryComponent$b;->a:Lsg/bigo/live/support64/component/resource/ResEntryComponent;

    invoke-static {v0}, Lsg/bigo/live/support64/component/resource/ResEntryComponent;->c(Lsg/bigo/live/support64/component/resource/ResEntryComponent;)Lsg/bigo/live/support64/component/resource/view/ResEntranceView;

    move-result-object v0

    if-eqz v0, :cond_52

    iget-object v2, p0, Lsg/bigo/live/support64/component/resource/ResEntryComponent$b;->a:Lsg/bigo/live/support64/component/resource/ResEntryComponent;

    check-cast v2, Lsg/bigo/live/support64/component/resource/b;

    invoke-virtual {v0, v2}, Lsg/bigo/live/support64/component/resource/view/ResEntranceView;->setupComponent(Lsg/bigo/live/support64/component/resource/b;)V

    .line 1156
    :cond_52
    iget-object v0, p0, Lsg/bigo/live/support64/component/resource/ResEntryComponent$b;->a:Lsg/bigo/live/support64/component/resource/ResEntryComponent;

    invoke-static {v0}, Lsg/bigo/live/support64/component/resource/ResEntryComponent;->b(Lsg/bigo/live/support64/component/resource/ResEntryComponent;)Lsg/bigo/live/support64/component/a;

    move-result-object v0

    invoke-static {v0, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-interface {v0}, Lsg/bigo/live/support64/component/a;->getPostComponentBus()Lsg/bigo/core/component/a/d;

    move-result-object v0

    sget-object v2, Lsg/bigo/live/support64/component/a/a;->EVENT_RESOURCE_ENTRANCE_INFLATED:Lsg/bigo/live/support64/component/a/a;

    check-cast v2, Lsg/bigo/core/component/a/b;

    const/4 v3, 0x0

    invoke-interface {v0, v2, v3}, Lsg/bigo/core/component/a/d;->a(Lsg/bigo/core/component/a/b;Landroid/util/SparseArray;)V

    .line 1159
    :cond_67
    iget-object v0, p0, Lsg/bigo/live/support64/component/resource/ResEntryComponent$b;->a:Lsg/bigo/live/support64/component/resource/ResEntryComponent;

    invoke-static {v0}, Lsg/bigo/live/support64/component/resource/ResEntryComponent;->a(Lsg/bigo/live/support64/component/resource/ResEntryComponent;)Landroid/view/View;

    move-result-object v0

    if-eqz v0, :cond_90

    .line 1160
    iget-object v0, p0, Lsg/bigo/live/support64/component/resource/ResEntryComponent$b;->a:Lsg/bigo/live/support64/component/resource/ResEntryComponent;

    invoke-static {v0}, Lsg/bigo/live/support64/component/resource/ResEntryComponent;->b(Lsg/bigo/live/support64/component/resource/ResEntryComponent;)Lsg/bigo/live/support64/component/a;

    move-result-object v0

    invoke-static {v0, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-interface {v0}, Lsg/bigo/live/support64/component/a;->t()Z

    move-result v0

    .line 1161
    iget-object v1, p0, Lsg/bigo/live/support64/component/resource/ResEntryComponent$b;->a:Lsg/bigo/live/support64/component/resource/ResEntryComponent;

    invoke-static {v1}, Lsg/bigo/live/support64/component/resource/ResEntryComponent;->d(Lsg/bigo/live/support64/component/resource/ResEntryComponent;)Lsg/bigo/live/support64/component/resource/ResEntranceViewModel;

    invoke-static {p1, v0}, Lsg/bigo/live/support64/component/resource/ResEntranceViewModel;->a(Ljava/util/List;Z)Ljava/util/List;

    move-result-object p1

    .line 1162
    iget-object v0, p0, Lsg/bigo/live/support64/component/resource/ResEntryComponent$b;->a:Lsg/bigo/live/support64/component/resource/ResEntryComponent;

    invoke-static {v0}, Lsg/bigo/live/support64/component/resource/ResEntryComponent;->c(Lsg/bigo/live/support64/component/resource/ResEntryComponent;)Lsg/bigo/live/support64/component/resource/view/ResEntranceView;

    move-result-object v0

    if-eqz v0, :cond_90

    invoke-virtual {v0, p1}, Lsg/bigo/live/support64/component/resource/view/ResEntranceView;->a(Ljava/util/List;)V

    :cond_90
    return-void
.end method