99 lines
2.7 KiB
Smali
99 lines
2.7 KiB
Smali
.class Lcom/moji/credit/CreditTaskHelper$ServiceTaskValidityThread$1;
|
|
.super Lcom/moji/requestcore/MJHttpCallback;
|
|
.source "CreditTaskHelper.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/moji/credit/CreditTaskHelper$ServiceTaskValidityThread;->run()V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/moji/requestcore/MJHttpCallback<",
|
|
"Lcom/moji/http/cs/entity/CreditTaskListResp;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Lcom/moji/credit/CreditTaskHelper$ServiceTaskValidityThread;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/moji/credit/CreditTaskHelper$ServiceTaskValidityThread;)V
|
|
.locals 0
|
|
|
|
.line 466
|
|
iput-object p1, p0, Lcom/moji/credit/CreditTaskHelper$ServiceTaskValidityThread$1;->a:Lcom/moji/credit/CreditTaskHelper$ServiceTaskValidityThread;
|
|
|
|
invoke-direct {p0}, Lcom/moji/requestcore/MJHttpCallback;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method protected a(Lcom/moji/http/cs/entity/CreditTaskListResp;)V
|
|
.locals 2
|
|
|
|
.line 469
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
.line 470
|
|
iget-object v1, p1, Lcom/moji/http/cs/entity/CreditTaskListResp;->newer_list:Ljava/util/List;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 471
|
|
iget-object v1, p1, Lcom/moji/http/cs/entity/CreditTaskListResp;->newer_list:Ljava/util/List;
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
|
|
|
|
.line 473
|
|
:cond_0
|
|
iget-object v1, p1, Lcom/moji/http/cs/entity/CreditTaskListResp;->other_list:Ljava/util/List;
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 474
|
|
iget-object p1, p1, Lcom/moji/http/cs/entity/CreditTaskListResp;->other_list:Ljava/util/List;
|
|
|
|
invoke-interface {v0, p1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
|
|
|
|
.line 477
|
|
:cond_1
|
|
invoke-static {}, Lcom/moji/credit/CreditTaskHelper;->b()Lcom/moji/credit/util/CreditSqlite;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, v0}, Lcom/moji/credit/util/CreditSqlite;->a(Ljava/util/List;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected onFailed(Lcom/moji/requestcore/MJException;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected synthetic onSuccess(Ljava/lang/Object;)V
|
|
.locals 0
|
|
|
|
.line 466
|
|
check-cast p1, Lcom/moji/http/cs/entity/CreditTaskListResp;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/moji/credit/CreditTaskHelper$ServiceTaskValidityThread$1;->a(Lcom/moji/http/cs/entity/CreditTaskListResp;)V
|
|
|
|
return-void
|
|
.end method
|