109 lines
3.7 KiB
Smali
109 lines
3.7 KiB
Smali
.class public final Lcom/discord/stores/updates/ObservationDeck$connectRx$1;
|
|
.super Ljava/lang/Object;
|
|
.source "ObservationDeck.kt"
|
|
|
|
# interfaces
|
|
.implements Lrx/functions/Action1;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/stores/updates/ObservationDeck;->connectRx([Lcom/discord/stores/updates/ObservationDeck$UpdateSource;ZLrx/Emitter$BackpressureMode;)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;",
|
|
">",
|
|
"Ljava/lang/Object;",
|
|
"Lrx/functions/Action1<",
|
|
"Lrx/Emitter<",
|
|
"TT;>;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $observer:Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
.field public final synthetic $updateOnConnect:Z
|
|
|
|
.field public final synthetic $updateSources:[Lcom/discord/stores/updates/ObservationDeck$UpdateSource;
|
|
|
|
.field public final synthetic this$0:Lcom/discord/stores/updates/ObservationDeck;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/stores/updates/ObservationDeck;Lkotlin/jvm/internal/Ref$ObjectRef;Z[Lcom/discord/stores/updates/ObservationDeck$UpdateSource;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/stores/updates/ObservationDeck$connectRx$1;->this$0:Lcom/discord/stores/updates/ObservationDeck;
|
|
|
|
iput-object p2, p0, Lcom/discord/stores/updates/ObservationDeck$connectRx$1;->$observer:Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
iput-boolean p3, p0, Lcom/discord/stores/updates/ObservationDeck$connectRx$1;->$updateOnConnect:Z
|
|
|
|
iput-object p4, p0, Lcom/discord/stores/updates/ObservationDeck$connectRx$1;->$updateSources:[Lcom/discord/stores/updates/ObservationDeck$UpdateSource;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic call(Ljava/lang/Object;)V
|
|
.locals 0
|
|
|
|
check-cast p1, Lrx/Emitter;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/stores/updates/ObservationDeck$connectRx$1;->call(Lrx/Emitter;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final call(Lrx/Emitter;)V
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lrx/Emitter<",
|
|
"Lkotlin/Unit;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/discord/stores/updates/ObservationDeck$connectRx$1;->$observer:Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
iget-object v1, p0, Lcom/discord/stores/updates/ObservationDeck$connectRx$1;->this$0:Lcom/discord/stores/updates/ObservationDeck;
|
|
|
|
iget-boolean v2, p0, Lcom/discord/stores/updates/ObservationDeck$connectRx$1;->$updateOnConnect:Z
|
|
|
|
iget-object v3, p0, Lcom/discord/stores/updates/ObservationDeck$connectRx$1;->$updateSources:[Lcom/discord/stores/updates/ObservationDeck$UpdateSource;
|
|
|
|
array-length v4, v3
|
|
|
|
invoke-static {v3, v4}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, [Lcom/discord/stores/updates/ObservationDeck$UpdateSource;
|
|
|
|
new-instance v4, Lcom/discord/stores/updates/ObservationDeck$connectRx$1$1;
|
|
|
|
invoke-direct {v4, p1}, Lcom/discord/stores/updates/ObservationDeck$connectRx$1$1;-><init>(Lrx/Emitter;)V
|
|
|
|
invoke-virtual {v1, v3, v2, v4}, Lcom/discord/stores/updates/ObservationDeck;->connect([Lcom/discord/stores/updates/ObservationDeck$UpdateSource;ZLkotlin/jvm/functions/Function0;)Lcom/discord/stores/updates/ObservationDeck$Observer;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, v0, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
return-void
|
|
.end method
|