2020-05-17 12:40:10 +00:00
|
|
|
.class public final Lcom/discord/widgets/user/WidgetUserMentions$observeModel$1;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "WidgetUserMentions.kt"
|
|
|
|
|
|
|
|
# interfaces
|
2020-09-02 04:07:20 +00:00
|
|
|
.implements Ls0/k/b;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/widgets/user/WidgetUserMentions;->observeModel()Lrx/Observable;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"R:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">",
|
|
|
|
"Ljava/lang/Object;",
|
2020-09-02 04:07:20 +00:00
|
|
|
"Ls0/k/b<",
|
|
|
|
"Lcom/discord/widgets/tabs/NavigationTab;",
|
2020-05-17 12:40:10 +00:00
|
|
|
"Lrx/Observable<",
|
2020-09-02 04:07:20 +00:00
|
|
|
"+",
|
|
|
|
"Lcom/discord/widgets/user/WidgetUserMentions$Model;",
|
|
|
|
">;>;"
|
2020-05-17 12:40:10 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final synthetic this$0:Lcom/discord/widgets/user/WidgetUserMentions;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Lcom/discord/widgets/user/WidgetUserMentions;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/user/WidgetUserMentions$observeModel$1;->this$0:Lcom/discord/widgets/user/WidgetUserMentions;
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
check-cast p1, Lcom/discord/widgets/tabs/NavigationTab;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/widgets/user/WidgetUserMentions$observeModel$1;->call(Lcom/discord/widgets/tabs/NavigationTab;)Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final call(Lcom/discord/widgets/tabs/NavigationTab;)Lrx/Observable;
|
|
|
|
.locals 3
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lcom/discord/widgets/tabs/NavigationTab;",
|
|
|
|
")",
|
|
|
|
"Lrx/Observable<",
|
2020-09-02 04:07:20 +00:00
|
|
|
"+",
|
2020-05-17 12:40:10 +00:00
|
|
|
"Lcom/discord/widgets/user/WidgetUserMentions$Model;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
sget-object v0, Lcom/discord/widgets/tabs/NavigationTab;->MENTIONS:Lcom/discord/widgets/tabs/NavigationTab;
|
|
|
|
|
|
|
|
if-ne p1, v0, :cond_0
|
|
|
|
|
|
|
|
sget-object v0, Lcom/discord/widgets/user/WidgetUserMentions$Model;->Companion:Lcom/discord/widgets/user/WidgetUserMentions$Model$Companion;
|
|
|
|
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/user/WidgetUserMentions$observeModel$1;->this$0:Lcom/discord/widgets/user/WidgetUserMentions;
|
|
|
|
|
|
|
|
invoke-static {v1}, Lcom/discord/widgets/user/WidgetUserMentions;->access$getMentionsLoader$p(Lcom/discord/widgets/user/WidgetUserMentions;)Lcom/discord/widgets/user/WidgetUserMentions$Model$MessageLoader;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, p1}, Lcom/discord/widgets/user/WidgetUserMentions$Model$Companion;->get(Lcom/discord/widgets/user/WidgetUserMentions$Model$MessageLoader;Lcom/discord/widgets/tabs/NavigationTab;)Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
sget-object v0, Lcom/discord/widgets/user/WidgetUserMentions$Model;->Companion:Lcom/discord/widgets/user/WidgetUserMentions$Model$Companion;
|
|
|
|
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/user/WidgetUserMentions$observeModel$1;->this$0:Lcom/discord/widgets/user/WidgetUserMentions;
|
|
|
|
|
|
|
|
invoke-static {v1}, Lcom/discord/widgets/user/WidgetUserMentions;->access$getMentionsLoader$p(Lcom/discord/widgets/user/WidgetUserMentions;)Lcom/discord/widgets/user/WidgetUserMentions$Model$MessageLoader;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const-string v2, "selectedTab"
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-static {p1, v2}, Lk0/o/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1, p1}, Lcom/discord/widgets/user/WidgetUserMentions$Model$Companion;->get(Lcom/discord/widgets/user/WidgetUserMentions$Model$MessageLoader;Lcom/discord/widgets/tabs/NavigationTab;)Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
2020-08-04 06:02:43 +00:00
|
|
|
invoke-virtual {p1, v0}, Lrx/Observable;->V(I)Lrx/Observable;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return-object p1
|
|
|
|
.end method
|