VoiceRoomFeedFragment$c.smali

.class final Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment$c;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroidx/lifecycle/Observer;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment;
.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/mediaroom/b/b;",
        ">;"
    }
.end annotation


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


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

    iput-object p1, p0, Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment$c;->a:Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment;

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

    return-void
.end method


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

    .line 34
    check-cast p1, Lcom/imo/android/imoim/mediaroom/b/b;

    if-eqz p1, :cond_5b

    .line 2032
    iget-object v0, p1, Lcom/imo/android/imoim/mediaroom/b/b;->a:Ljava/lang/String;

    const-string v1, "joined_channel"

    .line 1196
    invoke-static {v0, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1b

    .line 1197
    iget-object v0, p0, Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment$c;->a:Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment;

    .line 2033
    iget-object v1, p1, Lcom/imo/android/imoim/mediaroom/b/b;->b:Ljava/lang/String;

    .line 1197
    invoke-static {v0, v1}, Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment;->a(Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment;Ljava/lang/String;)V

    .line 1198
    iget-object v0, p0, Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment$c;->a:Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment;

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment;->a(Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment;I)V

    .line 3032
    :cond_1b
    iget-object v0, p1, Lcom/imo/android/imoim/mediaroom/b/b;->a:Ljava/lang/String;

    const-string v1, "join_channel_failure"

    .line 1201
    invoke-static {v0, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_54

    .line 1202
    iget-object v0, p0, Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment$c;->a:Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment;

    invoke-static {v0}, Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment;->b(Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment;)Z

    move-result v0

    if-eqz v0, :cond_54

    .line 3033
    iget-object v0, p1, Lcom/imo/android/imoim/mediaroom/b/b;->b:Ljava/lang/String;

    .line 1202
    iget-object v1, p0, Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment$c;->a:Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment;

    invoke-static {v1}, Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment;->c(Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment;)Ljava/lang/String;

    move-result-object v1

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

    move-result v0

    if-eqz v0, :cond_54

    invoke-static {}, Lsg/bigo/common/p;->b()Z

    move-result v0

    if-eqz v0, :cond_54

    iget-object v0, p0, Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment$c;->a:Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment;

    invoke-static {v0}, Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment;->a(Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment;)I

    move-result v1

    add-int/lit8 v2, v1, 0x1

    invoke-static {v0, v2}, Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment;->a(Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment;I)V

    const/4 v0, 0x3

    if-ge v1, v0, :cond_54

    .line 1203
    iget-object v0, p0, Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment$c;->a:Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment;

    invoke-static {v0}, Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment;->d(Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment;)V

    .line 4032
    :cond_54
    iget-object p1, p1, Lcom/imo/android/imoim/mediaroom/b/b;->a:Ljava/lang/String;

    const-string v0, "leave_channel"

    .line 1206
    invoke-static {p1, v0}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/Object;)Z

    :cond_5b
    return-void
.end method