x.smali
.class public Lcom/sandboxol/halloween/web/x;
.super Ljava/lang/Object;
.source "EventApi.java"
# static fields
.field private static final a:Lcom/sandboxol/halloween/web/IEventApi;
# direct methods
.method static constructor <clinit>()V
.registers 2
.line 1
invoke-static {}, Lcom/sandboxol/common/base/app/BaseApplication;->getApp()Lcom/sandboxol/common/base/app/BaseApplication;
move-result-object v0
invoke-virtual {v0}, Lcom/sandboxol/common/base/app/BaseApplication;->getMetaDataBaseUrl()Ljava/lang/String;
move-result-object v0
const-class v1, Lcom/sandboxol/halloween/web/IEventApi;
invoke-static {v0, v1}, Lcom/sandboxol/common/retrofit/RetrofitFactory;->httpsCreate(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/sandboxol/halloween/web/IEventApi;
sput-object v0, Lcom/sandboxol/halloween/web/x;->a:Lcom/sandboxol/halloween/web/IEventApi;
return-void
.end method
.method public static a(ILcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Lcom/sandboxol/common/base/web/OnResponseListener<",
"Ljava/lang/Integer;",
">;)V"
}
.end annotation
.line 24
new-instance v0, Lcom/sandboxol/halloween/web/m;
invoke-direct {v0, p0, p1}, Lcom/sandboxol/halloween/web/m;-><init>(ILcom/sandboxol/common/base/web/OnResponseListener;)V
invoke-static {p1, v0}, Lcom/sandboxol/common/utils/HttpUtils;->getRetryCommand(Lcom/sandboxol/common/base/web/OnResponseListener;Lrx/functions/Action0;)Lcom/sandboxol/common/command/ReplyCommand;
move-result-object v0
.line 25
sget-object v1, Lcom/sandboxol/halloween/web/x;->a:Lcom/sandboxol/halloween/web/IEventApi;
const-string v2, "4"
invoke-static {v2}, Lcom/sandboxol/halloween/view/template/c;->d(Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
invoke-interface {v1, p0, v2}, Lcom/sandboxol/halloween/web/IEventApi;->buyReproduceSuitGif(ILjava/lang/String;)Lrx/Observable;
move-result-object p0
.line 26
invoke-static {}, Lrx/schedulers/Schedulers;->io()Lrx/Scheduler;
move-result-object v1
invoke-virtual {p0, v1}, Lrx/Observable;->subscribeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
.line 27
invoke-static {}, Lrx/android/schedulers/AndroidSchedulers;->mainThread()Lrx/Scheduler;
move-result-object v1
invoke-virtual {p0, v1}, Lrx/Observable;->observeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
new-instance v1, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;
invoke-direct {v1, p1, v0}, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;-><init>(Lcom/sandboxol/common/base/web/OnResponseListener;Lcom/sandboxol/common/command/ReplyCommand;)V
.line 28
invoke-virtual {p0, v1}, Lrx/Observable;->subscribe(Lrx/Subscriber;)Lrx/Subscription;
return-void
.end method
.method static synthetic a(Landroid/content/Context;ILcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 3
.line 35
invoke-static {p0, p1, p2}, Lcom/sandboxol/halloween/web/x;->b(Landroid/content/Context;ILcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method public static a(Landroid/content/Context;ILjava/lang/String;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"I",
"Ljava/lang/String;",
"Lcom/sandboxol/common/base/web/OnResponseListener<",
"Ljava/lang/Integer;",
">;)V"
}
.end annotation
.line 1
new-instance v0, Lcom/sandboxol/halloween/web/a;
invoke-direct {v0, p0, p1, p2, p3}, Lcom/sandboxol/halloween/web/a;-><init>(Landroid/content/Context;ILjava/lang/String;Lcom/sandboxol/common/base/web/OnResponseListener;)V
invoke-static {p3, v0}, Lcom/sandboxol/common/utils/HttpUtils;->getRetryCommand(Lcom/sandboxol/common/base/web/OnResponseListener;Lrx/functions/Action0;)Lcom/sandboxol/common/command/ReplyCommand;
move-result-object v0
.line 2
sget-object v1, Lcom/sandboxol/halloween/web/x;->a:Lcom/sandboxol/halloween/web/IEventApi;
invoke-interface {v1, p1, p2}, Lcom/sandboxol/halloween/web/IEventApi;->exchangeCurrency(ILjava/lang/String;)Lrx/Observable;
move-result-object p1
check-cast p0, Lcom/trello/rxlifecycle/a;
sget-object p2, Lcom/trello/rxlifecycle/ActivityEvent;->DESTROY:Lcom/trello/rxlifecycle/ActivityEvent;
.line 3
invoke-interface {p0, p2}, Lcom/trello/rxlifecycle/a;->bindUntilEvent(Lcom/trello/rxlifecycle/ActivityEvent;)Lrx/Observable$Transformer;
move-result-object p0
invoke-virtual {p1, p0}, Lrx/Observable;->compose(Lrx/Observable$Transformer;)Lrx/Observable;
move-result-object p0
.line 4
invoke-static {}, Lrx/schedulers/Schedulers;->io()Lrx/Scheduler;
move-result-object p1
invoke-virtual {p0, p1}, Lrx/Observable;->subscribeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
.line 5
invoke-static {}, Lrx/android/schedulers/AndroidSchedulers;->mainThread()Lrx/Scheduler;
move-result-object p1
invoke-virtual {p0, p1}, Lrx/Observable;->observeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
new-instance p1, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;
invoke-direct {p1, p3, v0}, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;-><init>(Lcom/sandboxol/common/base/web/OnResponseListener;Lcom/sandboxol/common/command/ReplyCommand;)V
.line 6
invoke-virtual {p0, p1}, Lrx/Observable;->subscribe(Lrx/Subscriber;)Lrx/Subscription;
return-void
.end method
.method public static a(Landroid/content/Context;JLjava/lang/String;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 12
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"J",
"Ljava/lang/String;",
"Lcom/sandboxol/common/base/web/OnResponseListener<",
"Lcom/sandboxol/halloween/entity/ExchangeResponse;",
">;)V"
}
.end annotation
.line 13
new-instance v6, Lcom/sandboxol/halloween/web/n;
move-object v0, v6
move-object v1, p0
move-wide v2, p1
move-object v4, p3
move-object v5, p4
invoke-direct/range {v0 .. v5}, Lcom/sandboxol/halloween/web/n;-><init>(Landroid/content/Context;JLjava/lang/String;Lcom/sandboxol/common/base/web/OnResponseListener;)V
invoke-static {p4, v6}, Lcom/sandboxol/common/utils/HttpUtils;->getRetryCommand(Lcom/sandboxol/common/base/web/OnResponseListener;Lrx/functions/Action0;)Lcom/sandboxol/common/command/ReplyCommand;
move-result-object v0
.line 14
sget-object v1, Lcom/sandboxol/halloween/web/x;->a:Lcom/sandboxol/halloween/web/IEventApi;
invoke-static {}, Lcom/sandboxol/common/utils/CommonHelper;->getLanguage()Ljava/lang/String;
move-result-object v2
invoke-interface {v1, v2, p1, p2, p3}, Lcom/sandboxol/halloween/web/IEventApi;->exchangeReward(Ljava/lang/String;JLjava/lang/String;)Lrx/Observable;
move-result-object p1
check-cast p0, Lcom/trello/rxlifecycle/a;
sget-object p2, Lcom/trello/rxlifecycle/ActivityEvent;->DESTROY:Lcom/trello/rxlifecycle/ActivityEvent;
.line 15
invoke-interface {p0, p2}, Lcom/trello/rxlifecycle/a;->bindUntilEvent(Lcom/trello/rxlifecycle/ActivityEvent;)Lrx/Observable$Transformer;
move-result-object p0
invoke-virtual {p1, p0}, Lrx/Observable;->compose(Lrx/Observable$Transformer;)Lrx/Observable;
move-result-object p0
.line 16
invoke-static {}, Lrx/schedulers/Schedulers;->io()Lrx/Scheduler;
move-result-object p1
invoke-virtual {p0, p1}, Lrx/Observable;->subscribeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
.line 17
invoke-static {}, Lrx/android/schedulers/AndroidSchedulers;->mainThread()Lrx/Scheduler;
move-result-object p1
invoke-virtual {p0, p1}, Lrx/Observable;->observeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
new-instance p1, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;
invoke-direct {p1, p4, v0}, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;-><init>(Lcom/sandboxol/common/base/web/OnResponseListener;Lcom/sandboxol/common/command/ReplyCommand;)V
.line 18
invoke-virtual {p0, p1}, Lrx/Observable;->subscribe(Lrx/Subscriber;)Lrx/Subscription;
return-void
.end method
.method public static a(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Lcom/sandboxol/common/base/web/OnResponseListener<",
"Lcom/sandboxol/halloween/entity/OnePurchaseInfoResponse;",
">;)V"
}
.end annotation
.line 29
new-instance v0, Lcom/sandboxol/halloween/web/b;
invoke-direct {v0, p0, p1}, Lcom/sandboxol/halloween/web/b;-><init>(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
invoke-static {p1, v0}, Lcom/sandboxol/common/utils/HttpUtils;->getRetryCommand(Lcom/sandboxol/common/base/web/OnResponseListener;Lrx/functions/Action0;)Lcom/sandboxol/common/command/ReplyCommand;
move-result-object v0
.line 30
sget-object v1, Lcom/sandboxol/halloween/web/x;->a:Lcom/sandboxol/halloween/web/IEventApi;
invoke-static {}, Lcom/sandboxol/common/utils/CommonHelper;->getLanguage()Ljava/lang/String;
move-result-object v2
const-string v3, "5"
invoke-static {v3}, Lcom/sandboxol/halloween/view/template/c;->d(Ljava/lang/String;)Ljava/lang/String;
move-result-object v3
invoke-interface {v1, v2, v3}, Lcom/sandboxol/halloween/web/IEventApi;->buyOnePurchaseQualification(Ljava/lang/String;Ljava/lang/String;)Lrx/Observable;
move-result-object v1
check-cast p0, Lcom/trello/rxlifecycle/a;
sget-object v2, Lcom/trello/rxlifecycle/ActivityEvent;->DESTROY:Lcom/trello/rxlifecycle/ActivityEvent;
.line 31
invoke-interface {p0, v2}, Lcom/trello/rxlifecycle/a;->bindUntilEvent(Lcom/trello/rxlifecycle/ActivityEvent;)Lrx/Observable$Transformer;
move-result-object p0
invoke-virtual {v1, p0}, Lrx/Observable;->compose(Lrx/Observable$Transformer;)Lrx/Observable;
move-result-object p0
.line 32
invoke-static {}, Lrx/schedulers/Schedulers;->io()Lrx/Scheduler;
move-result-object v1
invoke-virtual {p0, v1}, Lrx/Observable;->subscribeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
.line 33
invoke-static {}, Lrx/android/schedulers/AndroidSchedulers;->mainThread()Lrx/Scheduler;
move-result-object v1
invoke-virtual {p0, v1}, Lrx/Observable;->observeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
new-instance v1, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;
invoke-direct {v1, p1, v0}, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;-><init>(Lcom/sandboxol/common/base/web/OnResponseListener;Lcom/sandboxol/common/command/ReplyCommand;)V
.line 34
invoke-virtual {p0, v1}, Lrx/Observable;->subscribe(Lrx/Subscriber;)Lrx/Subscription;
return-void
.end method
.method public static a(Landroid/content/Context;Ljava/lang/String;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Ljava/lang/String;",
"Lcom/sandboxol/common/base/web/OnResponseListener<",
"Lcom/sandboxol/halloween/entity/SevenDayTaskInfoResponse;",
">;)V"
}
.end annotation
.line 7
new-instance v0, Lcom/sandboxol/halloween/web/t;
invoke-direct {v0, p0, p1, p2}, Lcom/sandboxol/halloween/web/t;-><init>(Landroid/content/Context;Ljava/lang/String;Lcom/sandboxol/common/base/web/OnResponseListener;)V
invoke-static {p2, v0}, Lcom/sandboxol/common/utils/HttpUtils;->getRetryCommand(Lcom/sandboxol/common/base/web/OnResponseListener;Lrx/functions/Action0;)Lcom/sandboxol/common/command/ReplyCommand;
move-result-object v0
.line 8
sget-object v1, Lcom/sandboxol/halloween/web/x;->a:Lcom/sandboxol/halloween/web/IEventApi;
invoke-static {}, Lcom/sandboxol/common/utils/CommonHelper;->getLanguage()Ljava/lang/String;
move-result-object v2
invoke-interface {v1, v2, p1}, Lcom/sandboxol/halloween/web/IEventApi;->getDetailInfo(Ljava/lang/String;Ljava/lang/String;)Lrx/Observable;
move-result-object p1
check-cast p0, Lcom/trello/rxlifecycle/a;
sget-object v1, Lcom/trello/rxlifecycle/ActivityEvent;->DESTROY:Lcom/trello/rxlifecycle/ActivityEvent;
.line 9
invoke-interface {p0, v1}, Lcom/trello/rxlifecycle/a;->bindUntilEvent(Lcom/trello/rxlifecycle/ActivityEvent;)Lrx/Observable$Transformer;
move-result-object p0
invoke-virtual {p1, p0}, Lrx/Observable;->compose(Lrx/Observable$Transformer;)Lrx/Observable;
move-result-object p0
.line 10
invoke-static {}, Lrx/schedulers/Schedulers;->io()Lrx/Scheduler;
move-result-object p1
invoke-virtual {p0, p1}, Lrx/Observable;->subscribeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
.line 11
invoke-static {}, Lrx/android/schedulers/AndroidSchedulers;->mainThread()Lrx/Scheduler;
move-result-object p1
invoke-virtual {p0, p1}, Lrx/Observable;->observeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
new-instance p1, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;
invoke-direct {p1, p2, v0}, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;-><init>(Lcom/sandboxol/common/base/web/OnResponseListener;Lcom/sandboxol/common/command/ReplyCommand;)V
.line 12
invoke-virtual {p0, p1}, Lrx/Observable;->subscribe(Lrx/Subscriber;)Lrx/Subscription;
return-void
.end method
.method public static a(Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/sandboxol/common/base/web/OnResponseListener<",
"Ljava/lang/Integer;",
">;)V"
}
.end annotation
.line 19
new-instance v0, Lcom/sandboxol/halloween/web/c;
invoke-direct {v0, p0}, Lcom/sandboxol/halloween/web/c;-><init>(Lcom/sandboxol/common/base/web/OnResponseListener;)V
invoke-static {p0, v0}, Lcom/sandboxol/common/utils/HttpUtils;->getRetryCommand(Lcom/sandboxol/common/base/web/OnResponseListener;Lrx/functions/Action0;)Lcom/sandboxol/common/command/ReplyCommand;
move-result-object v0
.line 20
sget-object v1, Lcom/sandboxol/halloween/web/x;->a:Lcom/sandboxol/halloween/web/IEventApi;
const-string v2, "2"
invoke-static {v2}, Lcom/sandboxol/halloween/view/template/c;->d(Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
invoke-interface {v1, v2}, Lcom/sandboxol/halloween/web/IEventApi;->buyLimitedSuitGif2021Spring(Ljava/lang/String;)Lrx/Observable;
move-result-object v1
.line 21
invoke-static {}, Lrx/schedulers/Schedulers;->io()Lrx/Scheduler;
move-result-object v2
invoke-virtual {v1, v2}, Lrx/Observable;->subscribeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object v1
.line 22
invoke-static {}, Lrx/android/schedulers/AndroidSchedulers;->mainThread()Lrx/Scheduler;
move-result-object v2
invoke-virtual {v1, v2}, Lrx/Observable;->observeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object v1
new-instance v2, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;
invoke-direct {v2, p0, v0}, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;-><init>(Lcom/sandboxol/common/base/web/OnResponseListener;Lcom/sandboxol/common/command/ReplyCommand;)V
.line 23
invoke-virtual {v1, v2}, Lrx/Observable;->subscribe(Lrx/Subscriber;)Lrx/Subscription;
return-void
.end method
.method public static b(ILcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Lcom/sandboxol/common/base/web/OnResponseListener<",
"Ljava/lang/Integer;",
">;)V"
}
.end annotation
.line 9
new-instance v0, Lcom/sandboxol/halloween/web/d;
invoke-direct {v0, p0, p1}, Lcom/sandboxol/halloween/web/d;-><init>(ILcom/sandboxol/common/base/web/OnResponseListener;)V
invoke-static {p1, v0}, Lcom/sandboxol/common/utils/HttpUtils;->getRetryCommand(Lcom/sandboxol/common/base/web/OnResponseListener;Lrx/functions/Action0;)Lcom/sandboxol/common/command/ReplyCommand;
move-result-object v0
.line 10
sget-object v1, Lcom/sandboxol/halloween/web/x;->a:Lcom/sandboxol/halloween/web/IEventApi;
const-string v2, "3"
invoke-static {v2}, Lcom/sandboxol/halloween/view/template/c;->d(Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
invoke-interface {v1, p0, v2}, Lcom/sandboxol/halloween/web/IEventApi;->buyWishGif(ILjava/lang/String;)Lrx/Observable;
move-result-object p0
.line 11
invoke-static {}, Lrx/schedulers/Schedulers;->io()Lrx/Scheduler;
move-result-object v1
invoke-virtual {p0, v1}, Lrx/Observable;->subscribeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
.line 12
invoke-static {}, Lrx/android/schedulers/AndroidSchedulers;->mainThread()Lrx/Scheduler;
move-result-object v1
invoke-virtual {p0, v1}, Lrx/Observable;->observeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
new-instance v1, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;
invoke-direct {v1, p1, v0}, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;-><init>(Lcom/sandboxol/common/base/web/OnResponseListener;Lcom/sandboxol/common/command/ReplyCommand;)V
.line 13
invoke-virtual {p0, v1}, Lrx/Observable;->subscribe(Lrx/Subscriber;)Lrx/Subscription;
return-void
.end method
.method public static b(Landroid/content/Context;ILcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 7
.line 14
new-instance v0, Lcom/sandboxol/halloween/web/s;
invoke-direct {v0, p0, p1, p2}, Lcom/sandboxol/halloween/web/s;-><init>(Landroid/content/Context;ILcom/sandboxol/common/base/web/OnResponseListener;)V
invoke-static {p2, v0}, Lcom/sandboxol/common/utils/HttpUtils;->getRetryCommand(Lcom/sandboxol/common/base/web/OnResponseListener;Lrx/functions/Action0;)Lcom/sandboxol/common/command/ReplyCommand;
move-result-object v0
.line 15
sget-object v1, Lcom/sandboxol/halloween/web/x;->a:Lcom/sandboxol/halloween/web/IEventApi;
invoke-static {}, Lcom/sandboxol/common/utils/CommonHelper;->getLanguage()Ljava/lang/String;
move-result-object v2
const-string v3, "5"
invoke-static {v3}, Lcom/sandboxol/halloween/view/template/c;->d(Ljava/lang/String;)Ljava/lang/String;
move-result-object v3
invoke-interface {v1, v2, v3, p1}, Lcom/sandboxol/halloween/web/IEventApi;->receiveOnePurchaseReward(Ljava/lang/String;Ljava/lang/String;I)Lrx/Observable;
move-result-object p1
check-cast p0, Lcom/trello/rxlifecycle/a;
sget-object v1, Lcom/trello/rxlifecycle/ActivityEvent;->DESTROY:Lcom/trello/rxlifecycle/ActivityEvent;
.line 16
invoke-interface {p0, v1}, Lcom/trello/rxlifecycle/a;->bindUntilEvent(Lcom/trello/rxlifecycle/ActivityEvent;)Lrx/Observable$Transformer;
move-result-object p0
invoke-virtual {p1, p0}, Lrx/Observable;->compose(Lrx/Observable$Transformer;)Lrx/Observable;
move-result-object p0
.line 17
invoke-static {}, Lrx/schedulers/Schedulers;->io()Lrx/Scheduler;
move-result-object p1
invoke-virtual {p0, p1}, Lrx/Observable;->subscribeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
.line 18
invoke-static {}, Lrx/android/schedulers/AndroidSchedulers;->mainThread()Lrx/Scheduler;
move-result-object p1
invoke-virtual {p0, p1}, Lrx/Observable;->observeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
new-instance p1, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;
invoke-direct {p1, p2, v0}, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;-><init>(Lcom/sandboxol/common/base/web/OnResponseListener;Lcom/sandboxol/common/command/ReplyCommand;)V
.line 19
invoke-virtual {p0, p1}, Lrx/Observable;->subscribe(Lrx/Subscriber;)Lrx/Subscription;
return-void
.end method
.method static synthetic b(Landroid/content/Context;ILjava/lang/String;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 4
.line 1
invoke-static {p0, p1, p2, p3}, Lcom/sandboxol/halloween/web/x;->a(Landroid/content/Context;ILjava/lang/String;Lcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method static synthetic b(Landroid/content/Context;JLjava/lang/String;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 5
.line 2
invoke-static {p0, p1, p2, p3, p4}, Lcom/sandboxol/halloween/web/x;->a(Landroid/content/Context;JLjava/lang/String;Lcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method public static b(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Lcom/sandboxol/common/base/web/OnResponseListener<",
"Lcom/sandboxol/halloween/entity/ChestBoxInfo;",
">;)V"
}
.end annotation
.line 20
new-instance v0, Lcom/sandboxol/halloween/web/q;
invoke-direct {v0, p0, p1}, Lcom/sandboxol/halloween/web/q;-><init>(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
invoke-static {p1, v0}, Lcom/sandboxol/common/utils/HttpUtils;->getRetryCommand(Lcom/sandboxol/common/base/web/OnResponseListener;Lrx/functions/Action0;)Lcom/sandboxol/common/command/ReplyCommand;
move-result-object v0
.line 21
sget-object v1, Lcom/sandboxol/halloween/web/x;->a:Lcom/sandboxol/halloween/web/IEventApi;
invoke-static {}, Lcom/sandboxol/common/utils/CommonHelper;->getLanguage()Ljava/lang/String;
move-result-object v2
const-string v3, "6"
invoke-static {v3}, Lcom/sandboxol/halloween/view/template/c;->d(Ljava/lang/String;)Ljava/lang/String;
move-result-object v3
invoke-interface {v1, v2, v3}, Lcom/sandboxol/halloween/web/IEventApi;->getChestInfo(Ljava/lang/String;Ljava/lang/String;)Lrx/Observable;
move-result-object v1
check-cast p0, Lcom/trello/rxlifecycle/a;
sget-object v2, Lcom/trello/rxlifecycle/ActivityEvent;->DESTROY:Lcom/trello/rxlifecycle/ActivityEvent;
.line 22
invoke-interface {p0, v2}, Lcom/trello/rxlifecycle/a;->bindUntilEvent(Lcom/trello/rxlifecycle/ActivityEvent;)Lrx/Observable$Transformer;
move-result-object p0
invoke-virtual {v1, p0}, Lrx/Observable;->compose(Lrx/Observable$Transformer;)Lrx/Observable;
move-result-object p0
.line 23
invoke-static {}, Lrx/schedulers/Schedulers;->io()Lrx/Scheduler;
move-result-object v1
invoke-virtual {p0, v1}, Lrx/Observable;->subscribeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
.line 24
invoke-static {}, Lrx/android/schedulers/AndroidSchedulers;->mainThread()Lrx/Scheduler;
move-result-object v1
invoke-virtual {p0, v1}, Lrx/Observable;->observeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
new-instance v1, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;
invoke-direct {v1, p1, v0}, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;-><init>(Lcom/sandboxol/common/base/web/OnResponseListener;Lcom/sandboxol/common/command/ReplyCommand;)V
.line 25
invoke-virtual {p0, v1}, Lrx/Observable;->subscribe(Lrx/Subscriber;)Lrx/Subscription;
return-void
.end method
.method public static b(Landroid/content/Context;Ljava/lang/String;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Ljava/lang/String;",
"Lcom/sandboxol/common/base/web/OnResponseListener<",
"Ljava/util/List<",
"Lcom/sandboxol/halloween/entity/SevenDayTask;",
">;>;)V"
}
.end annotation
.line 3
new-instance v0, Lcom/sandboxol/halloween/web/p;
invoke-direct {v0, p0, p1, p2}, Lcom/sandboxol/halloween/web/p;-><init>(Landroid/content/Context;Ljava/lang/String;Lcom/sandboxol/common/base/web/OnResponseListener;)V
invoke-static {p2, v0}, Lcom/sandboxol/common/utils/HttpUtils;->getRetryCommand(Lcom/sandboxol/common/base/web/OnResponseListener;Lrx/functions/Action0;)Lcom/sandboxol/common/command/ReplyCommand;
move-result-object v0
.line 4
sget-object v1, Lcom/sandboxol/halloween/web/x;->a:Lcom/sandboxol/halloween/web/IEventApi;
invoke-static {}, Lcom/sandboxol/common/utils/CommonHelper;->getLanguage()Ljava/lang/String;
move-result-object v2
invoke-interface {v1, v2, p1}, Lcom/sandboxol/halloween/web/IEventApi;->getTaskList(Ljava/lang/String;Ljava/lang/String;)Lrx/Observable;
move-result-object p1
check-cast p0, Lcom/trello/rxlifecycle/a;
sget-object v1, Lcom/trello/rxlifecycle/ActivityEvent;->DESTROY:Lcom/trello/rxlifecycle/ActivityEvent;
.line 5
invoke-interface {p0, v1}, Lcom/trello/rxlifecycle/a;->bindUntilEvent(Lcom/trello/rxlifecycle/ActivityEvent;)Lrx/Observable$Transformer;
move-result-object p0
invoke-virtual {p1, p0}, Lrx/Observable;->compose(Lrx/Observable$Transformer;)Lrx/Observable;
move-result-object p0
.line 6
invoke-static {}, Lrx/schedulers/Schedulers;->io()Lrx/Scheduler;
move-result-object p1
invoke-virtual {p0, p1}, Lrx/Observable;->subscribeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
.line 7
invoke-static {}, Lrx/android/schedulers/AndroidSchedulers;->mainThread()Lrx/Scheduler;
move-result-object p1
invoke-virtual {p0, p1}, Lrx/Observable;->observeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
new-instance p1, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;
invoke-direct {p1, p2, v0}, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;-><init>(Lcom/sandboxol/common/base/web/OnResponseListener;Lcom/sandboxol/common/command/ReplyCommand;)V
.line 8
invoke-virtual {p0, p1}, Lrx/Observable;->subscribe(Lrx/Subscriber;)Lrx/Subscription;
return-void
.end method
.method public static b(Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/sandboxol/common/base/web/OnResponseListener<",
"Lcom/sandboxol/center/entity/EventSoBgInfo;",
">;)V"
}
.end annotation
.line 26
new-instance v0, Lcom/sandboxol/halloween/web/j;
invoke-direct {v0, p0}, Lcom/sandboxol/halloween/web/j;-><init>(Lcom/sandboxol/common/base/web/OnResponseListener;)V
invoke-static {p0, v0}, Lcom/sandboxol/common/utils/HttpUtils;->getRetryCommand(Lcom/sandboxol/common/base/web/OnResponseListener;Lrx/functions/Action0;)Lcom/sandboxol/common/command/ReplyCommand;
move-result-object v0
.line 27
sget-object v1, Lcom/sandboxol/halloween/web/x;->a:Lcom/sandboxol/halloween/web/IEventApi;
invoke-interface {v1}, Lcom/sandboxol/halloween/web/IEventApi;->getEventSoBackgroundPics()Lrx/Observable;
move-result-object v1
.line 28
invoke-static {}, Lrx/schedulers/Schedulers;->io()Lrx/Scheduler;
move-result-object v2
invoke-virtual {v1, v2}, Lrx/Observable;->subscribeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object v1
.line 29
invoke-static {}, Lrx/android/schedulers/AndroidSchedulers;->mainThread()Lrx/Scheduler;
move-result-object v2
invoke-virtual {v1, v2}, Lrx/Observable;->observeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object v1
new-instance v2, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;
invoke-direct {v2, p0, v0}, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;-><init>(Lcom/sandboxol/common/base/web/OnResponseListener;Lcom/sandboxol/common/command/ReplyCommand;)V
.line 30
invoke-virtual {v1, v2}, Lrx/Observable;->subscribe(Lrx/Subscriber;)Lrx/Subscription;
return-void
.end method
.method static synthetic c(ILcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 2
.line 4
invoke-static {p0, p1}, Lcom/sandboxol/halloween/web/x;->a(ILcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method static synthetic c(Landroid/content/Context;ILjava/lang/String;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 4
.line 2
invoke-static {p0, p1, p2, p3}, Lcom/sandboxol/halloween/web/x;->d(Landroid/content/Context;ILjava/lang/String;Lcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method public static c(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Lcom/sandboxol/common/base/web/OnResponseListener<",
"Ljava/util/List<",
"Lcom/sandboxol/halloween/entity/Task;",
">;>;)V"
}
.end annotation
.line 5
new-instance v0, Lcom/sandboxol/halloween/web/k;
invoke-direct {v0, p0, p1}, Lcom/sandboxol/halloween/web/k;-><init>(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
invoke-static {p1, v0}, Lcom/sandboxol/common/utils/HttpUtils;->getRetryCommand(Lcom/sandboxol/common/base/web/OnResponseListener;Lrx/functions/Action0;)Lcom/sandboxol/common/command/ReplyCommand;
move-result-object v0
.line 6
sget-object v1, Lcom/sandboxol/halloween/web/x;->a:Lcom/sandboxol/halloween/web/IEventApi;
invoke-static {}, Lcom/sandboxol/common/utils/CommonHelper;->getLanguage()Ljava/lang/String;
move-result-object v2
const-string v3, "6"
invoke-static {v3}, Lcom/sandboxol/halloween/view/template/c;->d(Ljava/lang/String;)Ljava/lang/String;
move-result-object v3
invoke-interface {v1, v2, v3}, Lcom/sandboxol/halloween/web/IEventApi;->getChestTaskList(Ljava/lang/String;Ljava/lang/String;)Lrx/Observable;
move-result-object v1
check-cast p0, Lcom/trello/rxlifecycle/a;
sget-object v2, Lcom/trello/rxlifecycle/ActivityEvent;->DESTROY:Lcom/trello/rxlifecycle/ActivityEvent;
.line 7
invoke-interface {p0, v2}, Lcom/trello/rxlifecycle/a;->bindUntilEvent(Lcom/trello/rxlifecycle/ActivityEvent;)Lrx/Observable$Transformer;
move-result-object p0
invoke-virtual {v1, p0}, Lrx/Observable;->compose(Lrx/Observable$Transformer;)Lrx/Observable;
move-result-object p0
.line 8
invoke-static {}, Lrx/schedulers/Schedulers;->io()Lrx/Scheduler;
move-result-object v1
invoke-virtual {p0, v1}, Lrx/Observable;->subscribeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
.line 9
invoke-static {}, Lrx/android/schedulers/AndroidSchedulers;->mainThread()Lrx/Scheduler;
move-result-object v1
invoke-virtual {p0, v1}, Lrx/Observable;->observeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
new-instance v1, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;
invoke-direct {v1, p1, v0}, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;-><init>(Lcom/sandboxol/common/base/web/OnResponseListener;Lcom/sandboxol/common/command/ReplyCommand;)V
.line 10
invoke-virtual {p0, v1}, Lrx/Observable;->subscribe(Lrx/Subscriber;)Lrx/Subscription;
return-void
.end method
.method static synthetic c(Landroid/content/Context;Ljava/lang/String;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 3
.line 1
invoke-static {p0, p1, p2}, Lcom/sandboxol/halloween/web/x;->a(Landroid/content/Context;Ljava/lang/String;Lcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method static synthetic c(Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 1
.line 3
invoke-static {p0}, Lcom/sandboxol/halloween/web/x;->a(Lcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method static synthetic d(ILcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 2
.line 14
invoke-static {p0, p1}, Lcom/sandboxol/halloween/web/x;->b(ILcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method public static d(Landroid/content/Context;ILjava/lang/String;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 7
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"I",
"Ljava/lang/String;",
"Lcom/sandboxol/common/base/web/OnResponseListener<",
"Lcom/sandboxol/halloween/entity/SevenDayTaskRewardResponse;",
">;)V"
}
.end annotation
.line 1
new-instance v0, Lcom/sandboxol/halloween/web/r;
invoke-direct {v0, p0, p1, p2, p3}, Lcom/sandboxol/halloween/web/r;-><init>(Landroid/content/Context;ILjava/lang/String;Lcom/sandboxol/common/base/web/OnResponseListener;)V
invoke-static {p3, v0}, Lcom/sandboxol/common/utils/HttpUtils;->getRetryCommand(Lcom/sandboxol/common/base/web/OnResponseListener;Lrx/functions/Action0;)Lcom/sandboxol/common/command/ReplyCommand;
move-result-object v0
.line 2
sget-object v1, Lcom/sandboxol/halloween/web/x;->a:Lcom/sandboxol/halloween/web/IEventApi;
invoke-static {}, Lcom/sandboxol/common/utils/CommonHelper;->getLanguage()Ljava/lang/String;
move-result-object v2
invoke-interface {v1, v2, p1, p2}, Lcom/sandboxol/halloween/web/IEventApi;->receiveTaskReward(Ljava/lang/String;ILjava/lang/String;)Lrx/Observable;
move-result-object p1
check-cast p0, Lcom/trello/rxlifecycle/a;
sget-object p2, Lcom/trello/rxlifecycle/ActivityEvent;->DESTROY:Lcom/trello/rxlifecycle/ActivityEvent;
.line 3
invoke-interface {p0, p2}, Lcom/trello/rxlifecycle/a;->bindUntilEvent(Lcom/trello/rxlifecycle/ActivityEvent;)Lrx/Observable$Transformer;
move-result-object p0
invoke-virtual {p1, p0}, Lrx/Observable;->compose(Lrx/Observable$Transformer;)Lrx/Observable;
move-result-object p0
.line 4
invoke-static {}, Lrx/schedulers/Schedulers;->io()Lrx/Scheduler;
move-result-object p1
invoke-virtual {p0, p1}, Lrx/Observable;->subscribeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
.line 5
invoke-static {}, Lrx/android/schedulers/AndroidSchedulers;->mainThread()Lrx/Scheduler;
move-result-object p1
invoke-virtual {p0, p1}, Lrx/Observable;->observeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
new-instance p1, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;
invoke-direct {p1, p3, v0}, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;-><init>(Lcom/sandboxol/common/base/web/OnResponseListener;Lcom/sandboxol/common/command/ReplyCommand;)V
.line 6
invoke-virtual {p0, p1}, Lrx/Observable;->subscribe(Lrx/Subscriber;)Lrx/Subscription;
return-void
.end method
.method public static d(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Lcom/sandboxol/common/base/web/OnResponseListener<",
"Lcom/sandboxol/halloween/entity/LimitedInfo;",
">;)V"
}
.end annotation
.line 8
new-instance v0, Lcom/sandboxol/halloween/web/u;
invoke-direct {v0, p0, p1}, Lcom/sandboxol/halloween/web/u;-><init>(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
invoke-static {p1, v0}, Lcom/sandboxol/common/utils/HttpUtils;->getRetryCommand(Lcom/sandboxol/common/base/web/OnResponseListener;Lrx/functions/Action0;)Lcom/sandboxol/common/command/ReplyCommand;
move-result-object v0
.line 9
sget-object v1, Lcom/sandboxol/halloween/web/x;->a:Lcom/sandboxol/halloween/web/IEventApi;
invoke-static {}, Lcom/sandboxol/common/utils/CommonHelper;->getLanguage()Ljava/lang/String;
move-result-object v2
const-string v3, "2"
invoke-static {v3}, Lcom/sandboxol/halloween/view/template/c;->d(Ljava/lang/String;)Ljava/lang/String;
move-result-object v3
invoke-interface {v1, v2, v3}, Lcom/sandboxol/halloween/web/IEventApi;->getLimitedInfo2021Spring(Ljava/lang/String;Ljava/lang/String;)Lrx/Observable;
move-result-object v1
check-cast p0, Lcom/trello/rxlifecycle/a;
sget-object v2, Lcom/trello/rxlifecycle/ActivityEvent;->DESTROY:Lcom/trello/rxlifecycle/ActivityEvent;
.line 10
invoke-interface {p0, v2}, Lcom/trello/rxlifecycle/a;->bindUntilEvent(Lcom/trello/rxlifecycle/ActivityEvent;)Lrx/Observable$Transformer;
move-result-object p0
invoke-virtual {v1, p0}, Lrx/Observable;->compose(Lrx/Observable$Transformer;)Lrx/Observable;
move-result-object p0
.line 11
invoke-static {}, Lrx/schedulers/Schedulers;->io()Lrx/Scheduler;
move-result-object v1
invoke-virtual {p0, v1}, Lrx/Observable;->subscribeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
.line 12
invoke-static {}, Lrx/android/schedulers/AndroidSchedulers;->mainThread()Lrx/Scheduler;
move-result-object v1
invoke-virtual {p0, v1}, Lrx/Observable;->observeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
new-instance v1, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;
invoke-direct {v1, p1, v0}, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;-><init>(Lcom/sandboxol/common/base/web/OnResponseListener;Lcom/sandboxol/common/command/ReplyCommand;)V
.line 13
invoke-virtual {p0, v1}, Lrx/Observable;->subscribe(Lrx/Subscriber;)Lrx/Subscription;
return-void
.end method
.method static synthetic d(Landroid/content/Context;Ljava/lang/String;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 3
.line 7
invoke-static {p0, p1, p2}, Lcom/sandboxol/halloween/web/x;->b(Landroid/content/Context;Ljava/lang/String;Lcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method static synthetic d(Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 1
.line 15
invoke-static {p0}, Lcom/sandboxol/halloween/web/x;->b(Lcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method static synthetic e(ILcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 2
.line 7
invoke-static {p0, p1}, Lcom/sandboxol/halloween/web/x;->h(ILcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method public static e(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Lcom/sandboxol/common/base/web/OnResponseListener<",
"Lcom/sandboxol/halloween/entity/OnePurchaseInfoResponse;",
">;)V"
}
.end annotation
.line 1
new-instance v0, Lcom/sandboxol/halloween/web/w;
invoke-direct {v0, p0, p1}, Lcom/sandboxol/halloween/web/w;-><init>(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
invoke-static {p1, v0}, Lcom/sandboxol/common/utils/HttpUtils;->getRetryCommand(Lcom/sandboxol/common/base/web/OnResponseListener;Lrx/functions/Action0;)Lcom/sandboxol/common/command/ReplyCommand;
move-result-object v0
.line 2
sget-object v1, Lcom/sandboxol/halloween/web/x;->a:Lcom/sandboxol/halloween/web/IEventApi;
invoke-static {}, Lcom/sandboxol/common/utils/CommonHelper;->getLanguage()Ljava/lang/String;
move-result-object v2
const-string v3, "5"
invoke-static {v3}, Lcom/sandboxol/halloween/view/template/c;->d(Ljava/lang/String;)Ljava/lang/String;
move-result-object v3
invoke-interface {v1, v2, v3}, Lcom/sandboxol/halloween/web/IEventApi;->getOnePurchaseInfoResponse(Ljava/lang/String;Ljava/lang/String;)Lrx/Observable;
move-result-object v1
check-cast p0, Lcom/trello/rxlifecycle/a;
sget-object v2, Lcom/trello/rxlifecycle/ActivityEvent;->DESTROY:Lcom/trello/rxlifecycle/ActivityEvent;
.line 3
invoke-interface {p0, v2}, Lcom/trello/rxlifecycle/a;->bindUntilEvent(Lcom/trello/rxlifecycle/ActivityEvent;)Lrx/Observable$Transformer;
move-result-object p0
invoke-virtual {v1, p0}, Lrx/Observable;->compose(Lrx/Observable$Transformer;)Lrx/Observable;
move-result-object p0
.line 4
invoke-static {}, Lrx/schedulers/Schedulers;->io()Lrx/Scheduler;
move-result-object v1
invoke-virtual {p0, v1}, Lrx/Observable;->subscribeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
.line 5
invoke-static {}, Lrx/android/schedulers/AndroidSchedulers;->mainThread()Lrx/Scheduler;
move-result-object v1
invoke-virtual {p0, v1}, Lrx/Observable;->observeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
new-instance v1, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;
invoke-direct {v1, p1, v0}, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;-><init>(Lcom/sandboxol/common/base/web/OnResponseListener;Lcom/sandboxol/common/command/ReplyCommand;)V
.line 6
invoke-virtual {p0, v1}, Lrx/Observable;->subscribe(Lrx/Subscriber;)Lrx/Subscription;
return-void
.end method
.method static synthetic f(ILcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 2
.line 7
invoke-static {p0, p1}, Lcom/sandboxol/halloween/web/x;->i(ILcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method public static f(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Lcom/sandboxol/common/base/web/OnResponseListener<",
"Lcom/sandboxol/halloween/entity/RechargeInfo;",
">;)V"
}
.end annotation
.line 1
new-instance v0, Lcom/sandboxol/halloween/web/o;
invoke-direct {v0, p0, p1}, Lcom/sandboxol/halloween/web/o;-><init>(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
invoke-static {p1, v0}, Lcom/sandboxol/common/utils/HttpUtils;->getRetryCommand(Lcom/sandboxol/common/base/web/OnResponseListener;Lrx/functions/Action0;)Lcom/sandboxol/common/command/ReplyCommand;
move-result-object v0
.line 2
sget-object v1, Lcom/sandboxol/halloween/web/x;->a:Lcom/sandboxol/halloween/web/IEventApi;
invoke-static {}, Lcom/sandboxol/common/utils/CommonHelper;->getLanguage()Ljava/lang/String;
move-result-object v2
const-string v3, "0"
invoke-static {v3}, Lcom/sandboxol/halloween/view/template/c;->d(Ljava/lang/String;)Ljava/lang/String;
move-result-object v3
invoke-interface {v1, v2, v3}, Lcom/sandboxol/halloween/web/IEventApi;->getRechargeInfo(Ljava/lang/String;Ljava/lang/String;)Lrx/Observable;
move-result-object v1
check-cast p0, Lcom/trello/rxlifecycle/a;
sget-object v2, Lcom/trello/rxlifecycle/ActivityEvent;->DESTROY:Lcom/trello/rxlifecycle/ActivityEvent;
.line 3
invoke-interface {p0, v2}, Lcom/trello/rxlifecycle/a;->bindUntilEvent(Lcom/trello/rxlifecycle/ActivityEvent;)Lrx/Observable$Transformer;
move-result-object p0
invoke-virtual {v1, p0}, Lrx/Observable;->compose(Lrx/Observable$Transformer;)Lrx/Observable;
move-result-object p0
.line 4
invoke-static {}, Lrx/schedulers/Schedulers;->io()Lrx/Scheduler;
move-result-object v1
invoke-virtual {p0, v1}, Lrx/Observable;->subscribeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
.line 5
invoke-static {}, Lrx/android/schedulers/AndroidSchedulers;->mainThread()Lrx/Scheduler;
move-result-object v1
invoke-virtual {p0, v1}, Lrx/Observable;->observeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
new-instance v1, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;
invoke-direct {v1, p1, v0}, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;-><init>(Lcom/sandboxol/common/base/web/OnResponseListener;Lcom/sandboxol/common/command/ReplyCommand;)V
.line 6
invoke-virtual {p0, v1}, Lrx/Observable;->subscribe(Lrx/Subscriber;)Lrx/Subscription;
return-void
.end method
.method static synthetic g(ILcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 2
.line 7
invoke-static {p0, p1}, Lcom/sandboxol/halloween/web/x;->j(ILcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method public static g(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Lcom/sandboxol/common/base/web/OnResponseListener<",
"Lcom/sandboxol/halloween/entity/ReproduceInfo;",
">;)V"
}
.end annotation
.line 1
new-instance v0, Lcom/sandboxol/halloween/web/l;
invoke-direct {v0, p0, p1}, Lcom/sandboxol/halloween/web/l;-><init>(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
invoke-static {p1, v0}, Lcom/sandboxol/common/utils/HttpUtils;->getRetryCommand(Lcom/sandboxol/common/base/web/OnResponseListener;Lrx/functions/Action0;)Lcom/sandboxol/common/command/ReplyCommand;
move-result-object v0
.line 2
sget-object v1, Lcom/sandboxol/halloween/web/x;->a:Lcom/sandboxol/halloween/web/IEventApi;
invoke-static {}, Lcom/sandboxol/common/utils/CommonHelper;->getLanguage()Ljava/lang/String;
move-result-object v2
const-string v3, "4"
invoke-static {v3}, Lcom/sandboxol/halloween/view/template/c;->d(Ljava/lang/String;)Ljava/lang/String;
move-result-object v3
invoke-interface {v1, v2, v3}, Lcom/sandboxol/halloween/web/IEventApi;->getReproduceInfo(Ljava/lang/String;Ljava/lang/String;)Lrx/Observable;
move-result-object v1
check-cast p0, Lcom/trello/rxlifecycle/a;
sget-object v2, Lcom/trello/rxlifecycle/ActivityEvent;->DESTROY:Lcom/trello/rxlifecycle/ActivityEvent;
.line 3
invoke-interface {p0, v2}, Lcom/trello/rxlifecycle/a;->bindUntilEvent(Lcom/trello/rxlifecycle/ActivityEvent;)Lrx/Observable$Transformer;
move-result-object p0
invoke-virtual {v1, p0}, Lrx/Observable;->compose(Lrx/Observable$Transformer;)Lrx/Observable;
move-result-object p0
.line 4
invoke-static {}, Lrx/schedulers/Schedulers;->io()Lrx/Scheduler;
move-result-object v1
invoke-virtual {p0, v1}, Lrx/Observable;->subscribeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
.line 5
invoke-static {}, Lrx/android/schedulers/AndroidSchedulers;->mainThread()Lrx/Scheduler;
move-result-object v1
invoke-virtual {p0, v1}, Lrx/Observable;->observeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
new-instance v1, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;
invoke-direct {v1, p1, v0}, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;-><init>(Lcom/sandboxol/common/base/web/OnResponseListener;Lcom/sandboxol/common/command/ReplyCommand;)V
.line 6
invoke-virtual {p0, v1}, Lrx/Observable;->subscribe(Lrx/Subscriber;)Lrx/Subscription;
return-void
.end method
.method public static h(ILcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Lcom/sandboxol/common/base/web/OnResponseListener<",
"Lcom/sandboxol/halloween/entity/ChestExchangeResponse;",
">;)V"
}
.end annotation
.line 7
new-instance v0, Lcom/sandboxol/halloween/web/e;
invoke-direct {v0, p0, p1}, Lcom/sandboxol/halloween/web/e;-><init>(ILcom/sandboxol/common/base/web/OnResponseListener;)V
invoke-static {p1, v0}, Lcom/sandboxol/common/utils/HttpUtils;->getRetryCommand(Lcom/sandboxol/common/base/web/OnResponseListener;Lrx/functions/Action0;)Lcom/sandboxol/common/command/ReplyCommand;
move-result-object v0
.line 8
sget-object v1, Lcom/sandboxol/halloween/web/x;->a:Lcom/sandboxol/halloween/web/IEventApi;
invoke-static {}, Lcom/sandboxol/common/utils/CommonHelper;->getLanguage()Ljava/lang/String;
move-result-object v2
const-string v3, "6"
invoke-static {v3}, Lcom/sandboxol/halloween/view/template/c;->d(Ljava/lang/String;)Ljava/lang/String;
move-result-object v3
invoke-interface {v1, p0, v2, v3}, Lcom/sandboxol/halloween/web/IEventApi;->exchangeChest(ILjava/lang/String;Ljava/lang/String;)Lrx/Observable;
move-result-object p0
.line 9
invoke-static {}, Lrx/schedulers/Schedulers;->io()Lrx/Scheduler;
move-result-object v1
invoke-virtual {p0, v1}, Lrx/Observable;->subscribeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
.line 10
invoke-static {}, Lrx/android/schedulers/AndroidSchedulers;->mainThread()Lrx/Scheduler;
move-result-object v1
invoke-virtual {p0, v1}, Lrx/Observable;->observeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
new-instance v1, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;
invoke-direct {v1, p1, v0}, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;-><init>(Lcom/sandboxol/common/base/web/OnResponseListener;Lcom/sandboxol/common/command/ReplyCommand;)V
.line 11
invoke-virtual {p0, v1}, Lrx/Observable;->subscribe(Lrx/Subscriber;)Lrx/Subscription;
return-void
.end method
.method public static h(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Lcom/sandboxol/common/base/web/OnResponseListener<",
"Lcom/sandboxol/halloween/entity/WishInfo;",
">;)V"
}
.end annotation
.line 1
new-instance v0, Lcom/sandboxol/halloween/web/g;
invoke-direct {v0, p0, p1}, Lcom/sandboxol/halloween/web/g;-><init>(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
invoke-static {p1, v0}, Lcom/sandboxol/common/utils/HttpUtils;->getRetryCommand(Lcom/sandboxol/common/base/web/OnResponseListener;Lrx/functions/Action0;)Lcom/sandboxol/common/command/ReplyCommand;
move-result-object v0
.line 2
sget-object v1, Lcom/sandboxol/halloween/web/x;->a:Lcom/sandboxol/halloween/web/IEventApi;
invoke-static {}, Lcom/sandboxol/common/utils/CommonHelper;->getLanguage()Ljava/lang/String;
move-result-object v2
const-string v3, "3"
invoke-static {v3}, Lcom/sandboxol/halloween/view/template/c;->d(Ljava/lang/String;)Ljava/lang/String;
move-result-object v3
invoke-interface {v1, v2, v3}, Lcom/sandboxol/halloween/web/IEventApi;->getWishInfo(Ljava/lang/String;Ljava/lang/String;)Lrx/Observable;
move-result-object v1
check-cast p0, Lcom/trello/rxlifecycle/a;
sget-object v2, Lcom/trello/rxlifecycle/ActivityEvent;->DESTROY:Lcom/trello/rxlifecycle/ActivityEvent;
.line 3
invoke-interface {p0, v2}, Lcom/trello/rxlifecycle/a;->bindUntilEvent(Lcom/trello/rxlifecycle/ActivityEvent;)Lrx/Observable$Transformer;
move-result-object p0
invoke-virtual {v1, p0}, Lrx/Observable;->compose(Lrx/Observable$Transformer;)Lrx/Observable;
move-result-object p0
.line 4
invoke-static {}, Lrx/schedulers/Schedulers;->io()Lrx/Scheduler;
move-result-object v1
invoke-virtual {p0, v1}, Lrx/Observable;->subscribeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
.line 5
invoke-static {}, Lrx/android/schedulers/AndroidSchedulers;->mainThread()Lrx/Scheduler;
move-result-object v1
invoke-virtual {p0, v1}, Lrx/Observable;->observeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
new-instance v1, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;
invoke-direct {v1, p1, v0}, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;-><init>(Lcom/sandboxol/common/base/web/OnResponseListener;Lcom/sandboxol/common/command/ReplyCommand;)V
.line 6
invoke-virtual {p0, v1}, Lrx/Observable;->subscribe(Lrx/Subscriber;)Lrx/Subscription;
return-void
.end method
.method public static i(ILcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Lcom/sandboxol/common/base/web/OnResponseListener<",
"Lcom/sandboxol/halloween/entity/ChestTaskRewardResponse;",
">;)V"
}
.end annotation
.line 2
new-instance v0, Lcom/sandboxol/halloween/web/h;
invoke-direct {v0, p0, p1}, Lcom/sandboxol/halloween/web/h;-><init>(ILcom/sandboxol/common/base/web/OnResponseListener;)V
invoke-static {p1, v0}, Lcom/sandboxol/common/utils/HttpUtils;->getRetryCommand(Lcom/sandboxol/common/base/web/OnResponseListener;Lrx/functions/Action0;)Lcom/sandboxol/common/command/ReplyCommand;
move-result-object v0
.line 3
sget-object v1, Lcom/sandboxol/halloween/web/x;->a:Lcom/sandboxol/halloween/web/IEventApi;
invoke-static {}, Lcom/sandboxol/common/utils/CommonHelper;->getLanguage()Ljava/lang/String;
move-result-object v2
const-string v3, "6"
invoke-static {v3}, Lcom/sandboxol/halloween/view/template/c;->d(Ljava/lang/String;)Ljava/lang/String;
move-result-object v3
invoke-interface {v1, p0, v2, v3}, Lcom/sandboxol/halloween/web/IEventApi;->receiveTaskReward(ILjava/lang/String;Ljava/lang/String;)Lrx/Observable;
move-result-object p0
.line 4
invoke-static {}, Lrx/schedulers/Schedulers;->io()Lrx/Scheduler;
move-result-object v1
invoke-virtual {p0, v1}, Lrx/Observable;->subscribeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
.line 5
invoke-static {}, Lrx/android/schedulers/AndroidSchedulers;->mainThread()Lrx/Scheduler;
move-result-object v1
invoke-virtual {p0, v1}, Lrx/Observable;->observeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
new-instance v1, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;
invoke-direct {v1, p1, v0}, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;-><init>(Lcom/sandboxol/common/base/web/OnResponseListener;Lcom/sandboxol/common/command/ReplyCommand;)V
.line 6
invoke-virtual {p0, v1}, Lrx/Observable;->subscribe(Lrx/Subscriber;)Lrx/Subscription;
return-void
.end method
.method static synthetic i(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 2
.line 1
invoke-static {p0, p1}, Lcom/sandboxol/halloween/web/x;->a(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method public static j(ILcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Lcom/sandboxol/common/base/web/OnResponseListener<",
"Ljava/lang/String;",
">;)V"
}
.end annotation
.line 1
new-instance v0, Lcom/sandboxol/halloween/web/i;
invoke-direct {v0, p0, p1}, Lcom/sandboxol/halloween/web/i;-><init>(ILcom/sandboxol/common/base/web/OnResponseListener;)V
invoke-static {p1, v0}, Lcom/sandboxol/common/utils/HttpUtils;->getRetryCommand(Lcom/sandboxol/common/base/web/OnResponseListener;Lrx/functions/Action0;)Lcom/sandboxol/common/command/ReplyCommand;
move-result-object v0
.line 2
sget-object v1, Lcom/sandboxol/halloween/web/x;->a:Lcom/sandboxol/halloween/web/IEventApi;
const-string v2, "0"
invoke-static {v2}, Lcom/sandboxol/halloween/view/template/c;->d(Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
invoke-interface {v1, p0, v2}, Lcom/sandboxol/halloween/web/IEventApi;->receiveRechargeGif(ILjava/lang/String;)Lrx/Observable;
move-result-object p0
.line 3
invoke-static {}, Lrx/schedulers/Schedulers;->io()Lrx/Scheduler;
move-result-object v1
invoke-virtual {p0, v1}, Lrx/Observable;->subscribeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
.line 4
invoke-static {}, Lrx/android/schedulers/AndroidSchedulers;->mainThread()Lrx/Scheduler;
move-result-object v1
invoke-virtual {p0, v1}, Lrx/Observable;->observeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
new-instance v1, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;
invoke-direct {v1, p1, v0}, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;-><init>(Lcom/sandboxol/common/base/web/OnResponseListener;Lcom/sandboxol/common/command/ReplyCommand;)V
.line 5
invoke-virtual {p0, v1}, Lrx/Observable;->subscribe(Lrx/Subscriber;)Lrx/Subscription;
return-void
.end method
.method static synthetic j(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 2
.line 6
invoke-static {p0, p1}, Lcom/sandboxol/halloween/web/x;->b(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method static synthetic k(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 2
.line 1
invoke-static {p0, p1}, Lcom/sandboxol/halloween/web/x;->c(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method static synthetic l(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 2
.line 1
invoke-static {p0, p1}, Lcom/sandboxol/halloween/web/x;->d(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method static synthetic m(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 2
.line 1
invoke-static {p0, p1}, Lcom/sandboxol/halloween/web/x;->e(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method static synthetic n(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 2
.line 1
invoke-static {p0, p1}, Lcom/sandboxol/halloween/web/x;->f(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method static synthetic o(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 2
.line 1
invoke-static {p0, p1}, Lcom/sandboxol/halloween/web/x;->g(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method static synthetic p(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 2
.line 1
invoke-static {p0, p1}, Lcom/sandboxol/halloween/web/x;->h(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method static synthetic q(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 2
.line 1
invoke-static {p0, p1}, Lcom/sandboxol/halloween/web/x;->s(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method static synthetic r(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 2
.line 1
invoke-static {p0, p1}, Lcom/sandboxol/halloween/web/x;->t(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method public static s(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 8
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Lcom/sandboxol/common/base/web/OnResponseListener<",
"Lcom/sandboxol/halloween/entity/AllEventInfoResponse;",
">;)V"
}
.end annotation
.line 1
new-instance v0, Lcom/sandboxol/halloween/web/v;
invoke-direct {v0, p0, p1}, Lcom/sandboxol/halloween/web/v;-><init>(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
invoke-static {p1, v0}, Lcom/sandboxol/common/utils/HttpUtils;->getRetryCommand(Lcom/sandboxol/common/base/web/OnResponseListener;Lrx/functions/Action0;)Lcom/sandboxol/common/command/ReplyCommand;
move-result-object v0
.line 2
sget-object v1, Lcom/sandboxol/halloween/web/x;->a:Lcom/sandboxol/halloween/web/IEventApi;
invoke-static {}, Lcom/sandboxol/common/utils/CommonHelper;->getLanguage()Ljava/lang/String;
move-result-object v2
.line 3
invoke-static {}, Lcom/sandboxol/common/base/app/BaseApplication;->getApp()Lcom/sandboxol/common/base/app/BaseApplication;
move-result-object v3
invoke-virtual {v3}, Lcom/sandboxol/common/base/app/BaseApplication;->getMetaDataAppVersion()I
move-result v3
const-string v4, "short_activity_v3"
const-string v5, "android"
.line 4
invoke-interface {v1, v4, v2, v3, v5}, Lcom/sandboxol/halloween/web/IEventApi;->loadAllEventInfo(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)Lrx/Observable;
move-result-object v1
check-cast p0, Lcom/trello/rxlifecycle/a;
sget-object v2, Lcom/trello/rxlifecycle/ActivityEvent;->DESTROY:Lcom/trello/rxlifecycle/ActivityEvent;
.line 5
invoke-interface {p0, v2}, Lcom/trello/rxlifecycle/a;->bindUntilEvent(Lcom/trello/rxlifecycle/ActivityEvent;)Lrx/Observable$Transformer;
move-result-object p0
invoke-virtual {v1, p0}, Lrx/Observable;->compose(Lrx/Observable$Transformer;)Lrx/Observable;
move-result-object p0
.line 6
invoke-static {}, Lrx/schedulers/Schedulers;->io()Lrx/Scheduler;
move-result-object v1
invoke-virtual {p0, v1}, Lrx/Observable;->subscribeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
.line 7
invoke-static {}, Lrx/android/schedulers/AndroidSchedulers;->mainThread()Lrx/Scheduler;
move-result-object v1
invoke-virtual {p0, v1}, Lrx/Observable;->observeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
new-instance v1, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;
invoke-direct {v1, p1, v0}, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;-><init>(Lcom/sandboxol/common/base/web/OnResponseListener;Lcom/sandboxol/common/command/ReplyCommand;)V
.line 8
invoke-virtual {p0, v1}, Lrx/Observable;->subscribe(Lrx/Subscriber;)Lrx/Subscription;
return-void
.end method
.method public static t(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 5
.line 1
new-instance v0, Lcom/sandboxol/halloween/web/f;
invoke-direct {v0, p0, p1}, Lcom/sandboxol/halloween/web/f;-><init>(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V
invoke-static {p1, v0}, Lcom/sandboxol/common/utils/HttpUtils;->getRetryCommand(Lcom/sandboxol/common/base/web/OnResponseListener;Lrx/functions/Action0;)Lcom/sandboxol/common/command/ReplyCommand;
move-result-object v0
.line 2
sget-object v1, Lcom/sandboxol/halloween/web/x;->a:Lcom/sandboxol/halloween/web/IEventApi;
const-string v2, "5"
invoke-static {v2}, Lcom/sandboxol/halloween/view/template/c;->d(Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
invoke-interface {v1, v2}, Lcom/sandboxol/halloween/web/IEventApi;->putOnePurchaseGuideStatus(Ljava/lang/String;)Lrx/Observable;
move-result-object v1
check-cast p0, Lcom/trello/rxlifecycle/a;
sget-object v2, Lcom/trello/rxlifecycle/ActivityEvent;->DESTROY:Lcom/trello/rxlifecycle/ActivityEvent;
.line 3
invoke-interface {p0, v2}, Lcom/trello/rxlifecycle/a;->bindUntilEvent(Lcom/trello/rxlifecycle/ActivityEvent;)Lrx/Observable$Transformer;
move-result-object p0
invoke-virtual {v1, p0}, Lrx/Observable;->compose(Lrx/Observable$Transformer;)Lrx/Observable;
move-result-object p0
.line 4
invoke-static {}, Lrx/schedulers/Schedulers;->io()Lrx/Scheduler;
move-result-object v1
invoke-virtual {p0, v1}, Lrx/Observable;->subscribeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
.line 5
invoke-static {}, Lrx/android/schedulers/AndroidSchedulers;->mainThread()Lrx/Scheduler;
move-result-object v1
invoke-virtual {p0, v1}, Lrx/Observable;->observeOn(Lrx/Scheduler;)Lrx/Observable;
move-result-object p0
new-instance v1, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;
invoke-direct {v1, p1, v0}, Lcom/sandboxol/center/web/http/AuthTokenHttpSubscriber;-><init>(Lcom/sandboxol/common/base/web/OnResponseListener;Lcom/sandboxol/common/command/ReplyCommand;)V
.line 6
invoke-virtual {p0, v1}, Lrx/Observable;->subscribe(Lrx/Subscriber;)Lrx/Subscription;
return-void
.end method