VoiceRoomSelectedComponent$c.smali
.class final Lcom/imo/android/imoim/voiceroom/select/view/VoiceRoomSelectedComponent$c;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/lifecycle/Observer;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/imo/android/imoim/voiceroom/select/view/VoiceRoomSelectedComponent;->c()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<",
"Ljava/util/ArrayList<",
"Lcom/imo/android/imoim/data/Member;",
">;>;"
}
.end annotation
# instance fields
.field final synthetic a:Lcom/imo/android/imoim/voiceroom/select/view/VoiceRoomSelectedComponent;
# direct methods
.method constructor <init>(Lcom/imo/android/imoim/voiceroom/select/view/VoiceRoomSelectedComponent;)V
.registers 2
iput-object p1, p0, Lcom/imo/android/imoim/voiceroom/select/view/VoiceRoomSelectedComponent$c;->a:Lcom/imo/android/imoim/voiceroom/select/view/VoiceRoomSelectedComponent;
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 22
check-cast p1, Ljava/util/ArrayList;
.line 1066
iget-object v0, p0, Lcom/imo/android/imoim/voiceroom/select/view/VoiceRoomSelectedComponent$c;->a:Lcom/imo/android/imoim/voiceroom/select/view/VoiceRoomSelectedComponent;
invoke-static {v0}, Lcom/imo/android/imoim/voiceroom/select/view/VoiceRoomSelectedComponent;->a(Lcom/imo/android/imoim/voiceroom/select/view/VoiceRoomSelectedComponent;)Lcom/imo/android/imoim/voiceroom/select/adapter/SelectedMemberDataAdapter;
move-result-object v0
if-eqz v0, :cond_2d
const-string v1, "it"
invoke-static {p1, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
check-cast p1, Ljava/util/Collection;
const-string v1, "list"
invoke-static {p1, v1}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 2033
iget-object v1, v0, Lcom/imo/android/imoim/voiceroom/select/adapter/SelectedMemberDataAdapter;->a:Ljava/util/List;
check-cast v1, Ljava/util/Collection;
invoke-static {v1}, Lcom/imo/android/common/c;->b(Ljava/util/Collection;)Z
move-result v1
if-nez v1, :cond_25
.line 2034
iget-object v1, v0, Lcom/imo/android/imoim/voiceroom/select/adapter/SelectedMemberDataAdapter;->a:Ljava/util/List;
invoke-interface {v1}, Ljava/util/List;->clear()V
.line 2036
:cond_25
iget-object v1, v0, Lcom/imo/android/imoim/voiceroom/select/adapter/SelectedMemberDataAdapter;->a:Ljava/util/List;
invoke-interface {v1, p1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
.line 2037
invoke-virtual {v0}, Lcom/imo/android/imoim/voiceroom/select/adapter/SelectedMemberDataAdapter;->notifyDataSetChanged()V
:cond_2d
return-void
.end method