SingleTakeUntilCompletable.smali
.class public final Lrx/internal/operators/SingleTakeUntilCompletable;
.super Ljava/lang/Object;
.source "SingleTakeUntilCompletable.java"
# interfaces
.implements Lrx/Single$OnSubscribe;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lrx/internal/operators/SingleTakeUntilCompletable$TakeUntilSourceSubscriber;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/Single$OnSubscribe<",
"TT;>;"
}
.end annotation
# instance fields
.field final other:Lrx/Completable;
.field final source:Lrx/Single$OnSubscribe;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrx/Single$OnSubscribe<",
"TT;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lrx/Single$OnSubscribe;Lrx/Completable;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lrx/Single$OnSubscribe<",
"TT;>;",
"Lrx/Completable;",
")V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lrx/internal/operators/SingleTakeUntilCompletable;->source:Lrx/Single$OnSubscribe;
.line 3
iput-object p2, p0, Lrx/internal/operators/SingleTakeUntilCompletable;->other:Lrx/Completable;
return-void
.end method
# virtual methods
.method public bridge synthetic call(Ljava/lang/Object;)V
.registers 2
.line 1
check-cast p1, Lrx/SingleSubscriber;
invoke-virtual {p0, p1}, Lrx/internal/operators/SingleTakeUntilCompletable;->call(Lrx/SingleSubscriber;)V
return-void
.end method
.method public call(Lrx/SingleSubscriber;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lrx/SingleSubscriber<",
"-TT;>;)V"
}
.end annotation
.line 2
new-instance v0, Lrx/internal/operators/SingleTakeUntilCompletable$TakeUntilSourceSubscriber;
invoke-direct {v0, p1}, Lrx/internal/operators/SingleTakeUntilCompletable$TakeUntilSourceSubscriber;-><init>(Lrx/SingleSubscriber;)V
.line 3
invoke-virtual {p1, v0}, Lrx/SingleSubscriber;->add(Lrx/Subscription;)V
.line 4
iget-object p1, p0, Lrx/internal/operators/SingleTakeUntilCompletable;->other:Lrx/Completable;
invoke-virtual {p1, v0}, Lrx/Completable;->subscribe(Lrx/CompletableSubscriber;)V
.line 5
iget-object p1, p0, Lrx/internal/operators/SingleTakeUntilCompletable;->source:Lrx/Single$OnSubscribe;
invoke-interface {p1, v0}, Lrx/functions/Action1;->call(Ljava/lang/Object;)V
return-void
.end method