apkfuckery/com.discord/smali/com/discord/widgets/channels/WidgetChannelSelector$Model...

88 lines
2.6 KiB
Smali

.class public final Lcom/discord/widgets/channels/WidgetChannelSelector$Model$Companion;
.super Ljava/lang/Object;
.source "WidgetChannelSelector.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/discord/widgets/channels/WidgetChannelSelector$Model;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Companion"
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
invoke-direct {p0}, Lcom/discord/widgets/channels/WidgetChannelSelector$Model$Companion;-><init>()V
return-void
.end method
# virtual methods
.method public final get(JIZ)Lrx/Observable;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(JIZ)",
"Lrx/Observable<",
"Ljava/util/List<",
"Lcom/discord/widgets/channels/WidgetChannelSelector$Model$Item;",
">;>;"
}
.end annotation
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getChannels()Lcom/discord/stores/StoreChannels;
move-result-object v0
invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p3
invoke-virtual {v0, p1, p2, p3}, Lcom/discord/stores/StoreChannels;->getForGuild(JLjava/lang/Integer;)Lrx/Observable;
move-result-object p1
new-instance p2, Lcom/discord/widgets/channels/WidgetChannelSelector$Model$Companion$get$1;
invoke-direct {p2, p4}, Lcom/discord/widgets/channels/WidgetChannelSelector$Model$Companion$get$1;-><init>(Z)V
invoke-virtual {p1, p2}, Lrx/Observable;->f(La0/l/i;)Lrx/Observable;
move-result-object p1
const-string p2, "StoreStream\n \u2026tem(it) }\n }"
invoke-static {p1, p2}, Ls/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {p1}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->computationLatest(Lrx/Observable;)Lrx/Observable;
move-result-object p1
invoke-virtual {p1}, Lrx/Observable;->a()Lrx/Observable;
move-result-object p1
const-string p2, "StoreStream\n \u2026 .distinctUntilChanged()"
invoke-static {p1, p2}, Ls/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p1
.end method