SelectCityFragment$e.smali
.class final Lcom/imo/android/imoim/util/city/SelectCityFragment$e;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/lifecycle/Observer;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/imo/android/imoim/util/city/SelectCityFragment;->onViewCreated(Landroid/view/View;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<",
"Lkotlin/m<",
"+",
"Ljava/util/List<",
"+",
"Lcom/imo/android/imoim/publicchannel/CityInfo;",
">;+",
"Ljava/lang/String;",
">;>;"
}
.end annotation
# instance fields
.field final synthetic a:Lcom/imo/android/imoim/util/city/SelectCityFragment;
# direct methods
.method constructor <init>(Lcom/imo/android/imoim/util/city/SelectCityFragment;)V
.registers 2
iput-object p1, p0, Lcom/imo/android/imoim/util/city/SelectCityFragment$e;->a:Lcom/imo/android/imoim/util/city/SelectCityFragment;
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 25
check-cast p1, Lkotlin/m;
.line 1110
iget-object v0, p0, Lcom/imo/android/imoim/util/city/SelectCityFragment$e;->a:Lcom/imo/android/imoim/util/city/SelectCityFragment;
invoke-static {v0}, Lcom/imo/android/imoim/util/city/SelectCityFragment;->c(Lcom/imo/android/imoim/util/city/SelectCityFragment;)Lcom/imo/xui/widget/refresh/XRecyclerRefreshLayout;
move-result-object v0
invoke-virtual {v0}, Lcom/imo/xui/widget/refresh/XRecyclerRefreshLayout;->b()V
if-eqz p1, :cond_3f
.line 2027
iget-object v0, p1, Lkotlin/m;->a:Ljava/lang/Object;
.line 1116
check-cast v0, Ljava/util/List;
.line 2028
iget-object p1, p1, Lkotlin/m;->b:Ljava/lang/Object;
.line 1117
check-cast p1, Ljava/lang/String;
.line 1118
iget-object v1, p0, Lcom/imo/android/imoim/util/city/SelectCityFragment$e;->a:Lcom/imo/android/imoim/util/city/SelectCityFragment;
invoke-static {v1, p1}, Lcom/imo/android/imoim/util/city/SelectCityFragment;->a(Lcom/imo/android/imoim/util/city/SelectCityFragment;Ljava/lang/String;)V
.line 1119
check-cast p1, Ljava/lang/CharSequence;
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result p1
if-eqz p1, :cond_2d
.line 1120
iget-object p1, p0, Lcom/imo/android/imoim/util/city/SelectCityFragment$e;->a:Lcom/imo/android/imoim/util/city/SelectCityFragment;
invoke-static {p1}, Lcom/imo/android/imoim/util/city/SelectCityFragment;->c(Lcom/imo/android/imoim/util/city/SelectCityFragment;)Lcom/imo/xui/widget/refresh/XRecyclerRefreshLayout;
move-result-object p1
sget-object v1, Lcom/imo/xui/widget/refresh/XRecyclerRefreshLayout$c;->NONE:Lcom/imo/xui/widget/refresh/XRecyclerRefreshLayout$c;
invoke-virtual {p1, v1}, Lcom/imo/xui/widget/refresh/XRecyclerRefreshLayout;->setLoadMoreModel(Lcom/imo/xui/widget/refresh/XRecyclerRefreshLayout$c;)V
.line 1123
:cond_2d
iget-object p1, p0, Lcom/imo/android/imoim/util/city/SelectCityFragment$e;->a:Lcom/imo/android/imoim/util/city/SelectCityFragment;
invoke-static {p1}, Lcom/imo/android/imoim/util/city/SelectCityFragment;->d(Lcom/imo/android/imoim/util/city/SelectCityFragment;)Lcom/imo/android/imoim/util/city/SelectCityAdapter;
move-result-object p1
invoke-virtual {p1, v0}, Lcom/imo/android/imoim/util/city/SelectCityAdapter;->c(Ljava/util/List;)V
.line 1124
iget-object p1, p0, Lcom/imo/android/imoim/util/city/SelectCityFragment$e;->a:Lcom/imo/android/imoim/util/city/SelectCityFragment;
invoke-static {p1}, Lcom/imo/android/imoim/util/city/SelectCityFragment;->d(Lcom/imo/android/imoim/util/city/SelectCityFragment;)Lcom/imo/android/imoim/util/city/SelectCityAdapter;
move-result-object p1
invoke-virtual {p1}, Lcom/imo/android/imoim/util/city/SelectCityAdapter;->notifyDataSetChanged()V
:cond_3f
return-void
.end method