144 lines
4.4 KiB
Smali
144 lines
4.4 KiB
Smali
|
.class public final Lcom/discord/widgets/channels/memberlist/WidgetChannelMembersList$getModelObservable$1;
|
||
|
.super Lw/u/b/k;
|
||
|
.source "WidgetChannelMembersList.kt"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Lkotlin/jvm/functions/Function2;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||
|
value = Lcom/discord/widgets/channels/memberlist/WidgetChannelMembersList;->getModelObservable()Lrx/Observable;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x19
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Lw/u/b/k;",
|
||
|
"Lkotlin/jvm/functions/Function2<",
|
||
|
"Lcom/discord/models/domain/ModelGuild;",
|
||
|
"Lcom/discord/models/domain/ModelChannel;",
|
||
|
"Lrx/Observable<",
|
||
|
"Lcom/discord/widgets/channels/memberlist/WidgetChannelMembersList$MemberList;",
|
||
|
">;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# static fields
|
||
|
.field public static final INSTANCE:Lcom/discord/widgets/channels/memberlist/WidgetChannelMembersList$getModelObservable$1;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public static constructor <clinit>()V
|
||
|
.locals 1
|
||
|
|
||
|
new-instance v0, Lcom/discord/widgets/channels/memberlist/WidgetChannelMembersList$getModelObservable$1;
|
||
|
|
||
|
invoke-direct {v0}, Lcom/discord/widgets/channels/memberlist/WidgetChannelMembersList$getModelObservable$1;-><init>()V
|
||
|
|
||
|
sput-object v0, Lcom/discord/widgets/channels/memberlist/WidgetChannelMembersList$getModelObservable$1;->INSTANCE:Lcom/discord/widgets/channels/memberlist/WidgetChannelMembersList$getModelObservable$1;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public constructor <init>()V
|
||
|
.locals 1
|
||
|
|
||
|
const/4 v0, 0x2
|
||
|
|
||
|
invoke-direct {p0, v0}, Lw/u/b/k;-><init>(I)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public bridge synthetic invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
.locals 0
|
||
|
|
||
|
check-cast p1, Lcom/discord/models/domain/ModelGuild;
|
||
|
|
||
|
check-cast p2, Lcom/discord/models/domain/ModelChannel;
|
||
|
|
||
|
invoke-virtual {p0, p1, p2}, Lcom/discord/widgets/channels/memberlist/WidgetChannelMembersList$getModelObservable$1;->invoke(Lcom/discord/models/domain/ModelGuild;Lcom/discord/models/domain/ModelChannel;)Lrx/Observable;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method public final invoke(Lcom/discord/models/domain/ModelGuild;Lcom/discord/models/domain/ModelChannel;)Lrx/Observable;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Lcom/discord/models/domain/ModelGuild;",
|
||
|
"Lcom/discord/models/domain/ModelChannel;",
|
||
|
")",
|
||
|
"Lrx/Observable<",
|
||
|
"Lcom/discord/widgets/channels/memberlist/WidgetChannelMembersList$MemberList;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
if-nez p2, :cond_0
|
||
|
|
||
|
invoke-static {}, Lcom/discord/widgets/channels/memberlist/WidgetChannelMembersList;->access$getEMPTY_MEMBER_LIST$cp()Lcom/discord/widgets/channels/memberlist/WidgetChannelMembersList$Companion$EMPTY_MEMBER_LIST$1;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
new-instance p2, Le0/m/e/j;
|
||
|
|
||
|
invoke-direct {p2, p1}, Le0/m/e/j;-><init>(Ljava/lang/Object;)V
|
||
|
|
||
|
const-string p1, "Observable.just(EMPTY_MEMBER_LIST)"
|
||
|
|
||
|
invoke-static {p2, p1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
if-eqz p1, :cond_1
|
||
|
|
||
|
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
||
|
|
||
|
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getChannelMembers()Lcom/discord/stores/StoreChannelMembersLazy;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {p1}, Lcom/discord/models/domain/ModelGuild;->getId()J
|
||
|
|
||
|
move-result-wide v1
|
||
|
|
||
|
invoke-virtual {p2}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
||
|
|
||
|
move-result-wide p1
|
||
|
|
||
|
invoke-virtual {v0, v1, v2, p1, p2}, Lcom/discord/stores/StoreChannelMembersLazy;->get(JJ)Lrx/Observable;
|
||
|
|
||
|
move-result-object p2
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
invoke-virtual {p2}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
||
|
|
||
|
move-result-wide p1
|
||
|
|
||
|
invoke-static {p1, p2}, Lcom/discord/widgets/channels/memberlist/PrivateChannelMembersListModelProvider;->get(J)Lrx/Observable;
|
||
|
|
||
|
move-result-object p2
|
||
|
|
||
|
const-string p1, "PrivateChannelMembersLis\u2026r.get(selectedChannel.id)"
|
||
|
|
||
|
invoke-static {p2, p1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
:goto_0
|
||
|
return-object p2
|
||
|
.end method
|