MicSeatComponent$d.smali

.class final Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent$d;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroidx/lifecycle/Observer;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent;
.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<",
        "+",
        "Lcom/imo/android/imoim/voiceroom/feeds/data/MicSeats;",
        ">;>;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent;)V
    .registers 2

    iput-object p1, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent$d;->a:Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent;

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

    return-void
.end method


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

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

    .line 1067
    iget-object v0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent$d;->a:Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent;

    .line 2026
    iget-object v0, v0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/BaseFeedVRComponent;->c:Ljava/lang/String;

    check-cast v0, Ljava/lang/CharSequence;

    const/4 v1, 0x1

    if-eqz v0, :cond_14

    invoke-interface {v0}, Ljava/lang/CharSequence;->length()I

    move-result v0

    if-nez v0, :cond_12

    goto :goto_14

    :cond_12
    const/4 v0, 0x0

    goto :goto_15

    :cond_14
    :goto_14
    const/4 v0, 0x1

    :goto_15
    xor-int/2addr v0, v1

    if-eqz v0, :cond_34

    .line 1068
    iget-object v0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent$d;->a:Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent;->a(Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent;)Lcom/imo/android/imoim/voiceroom/feeds/adapter/FeedsMicSeatAdapter;

    move-result-object v0

    const-string v1, "micSeats"

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

    const-string v1, "data"

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

    .line 2032
    new-instance v1, Ljava/util/ArrayList;

    check-cast p1, Ljava/util/Collection;

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

    iput-object v1, v0, Lcom/imo/android/imoim/voiceroom/feeds/adapter/FeedsMicSeatAdapter;->c:Ljava/util/ArrayList;

    .line 2033
    invoke-virtual {v0}, Lcom/imo/android/imoim/voiceroom/feeds/adapter/FeedsMicSeatAdapter;->notifyDataSetChanged()V

    :cond_34
    return-void
.end method