2020-03-03 02:12:30 +00:00
|
|
|
.class public abstract Le/a/b/c0;
|
|
|
|
.super Landroidx/lifecycle/ViewModel;
|
|
|
|
.source "AppViewModel.kt"
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
# interfaces
|
2020-03-03 02:12:30 +00:00
|
|
|
.implements Lcom/discord/app/AppComponent;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-03-03 02:12:30 +00:00
|
|
|
"<V:",
|
2019-11-15 02:21:15 +00:00
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">",
|
2020-03-03 02:12:30 +00:00
|
|
|
"Landroidx/lifecycle/ViewModel;",
|
|
|
|
"Lcom/discord/app/AppComponent;"
|
2019-11-15 02:21:15 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
# instance fields
|
|
|
|
.field public final paused:Lrx/subjects/Subject;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Lrx/subjects/Subject<",
|
|
|
|
"Ljava/lang/Void;",
|
|
|
|
"Ljava/lang/Void;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field public final viewStateSubject:Lrx/subjects/BehaviorSubject;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Lrx/subjects/BehaviorSubject<",
|
|
|
|
"TV;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
2019-11-15 02:21:15 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
# direct methods
|
2020-03-03 02:12:30 +00:00
|
|
|
.method public constructor <init>(Ljava/lang/Object;)V
|
2019-11-15 02:21:15 +00:00
|
|
|
.locals 1
|
2020-03-03 02:12:30 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(TV;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-direct {p0}, Landroidx/lifecycle/ViewModel;-><init>()V
|
|
|
|
|
|
|
|
invoke-static {p1}, Lrx/subjects/BehaviorSubject;->a(Ljava/lang/Object;)Lrx/subjects/BehaviorSubject;
|
|
|
|
|
|
|
|
move-result-object p1
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
iput-object p1, p0, Le/a/b/c0;->viewStateSubject:Lrx/subjects/BehaviorSubject;
|
2019-11-10 14:21:47 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
invoke-static {}, Lrx/subjects/PublishSubject;->o()Lrx/subjects/PublishSubject;
|
2019-11-10 14:21:47 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string v0, "PublishSubject.create()"
|
|
|
|
|
2020-03-26 23:31:08 +00:00
|
|
|
invoke-static {p1, v0}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-03-03 02:12:30 +00:00
|
|
|
|
|
|
|
iput-object p1, p0, Le/a/b/c0;->paused:Lrx/subjects/Subject;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
# virtual methods
|
|
|
|
.method public getPaused()Lrx/subjects/Subject;
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"()",
|
|
|
|
"Lrx/subjects/Subject<",
|
|
|
|
"Ljava/lang/Void;",
|
|
|
|
"Ljava/lang/Void;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
iget-object v0, p0, Le/a/b/c0;->paused:Lrx/subjects/Subject;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final getViewState()Ljava/lang/Object;
|
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"()TV;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
iget-object v0, p0, Le/a/b/c0;->viewStateSubject:Lrx/subjects/BehaviorSubject;
|
|
|
|
|
|
|
|
const-string v1, "viewStateSubject"
|
|
|
|
|
2020-03-26 23:31:08 +00:00
|
|
|
invoke-static {v0, v1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-03-03 02:12:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Lrx/subjects/BehaviorSubject;->o()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final observeViewState()Lrx/Observable;
|
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"()",
|
|
|
|
"Lrx/Observable<",
|
|
|
|
"TV;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
iget-object v0, p0, Le/a/b/c0;->viewStateSubject:Lrx/subjects/BehaviorSubject;
|
|
|
|
|
|
|
|
const-string v1, "viewStateSubject"
|
|
|
|
|
2020-03-26 23:31:08 +00:00
|
|
|
invoke-static {v0, v1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-03-03 02:12:30 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public onCleared()V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
invoke-super {p0}, Landroidx/lifecycle/ViewModel;->onCleared()V
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Le/a/b/c0;->getPaused()Lrx/subjects/Subject;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
2020-03-26 23:31:08 +00:00
|
|
|
invoke-interface {v0, v1}, Le0/g;->onNext(Ljava/lang/Object;)V
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
2019-11-15 02:21:15 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
.method public updateViewState(Ljava/lang/Object;)V
|
|
|
|
.locals 1
|
|
|
|
.annotation build Landroidx/annotation/MainThread;
|
|
|
|
.end annotation
|
2019-11-15 02:21:15 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(TV;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
2019-11-15 02:21:15 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
iget-object v0, p0, Le/a/b/c0;->viewStateSubject:Lrx/subjects/BehaviorSubject;
|
2020-03-02 06:11:59 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
invoke-virtual {v0, p1}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
return-void
|
2019-11-15 02:21:15 +00:00
|
|
|
.end method
|