149 lines
4.1 KiB
Smali
149 lines
4.1 KiB
Smali
.class Lcom/moji/newliveview/detail/PictureDetailFragment$8;
|
|
.super Lcom/moji/requestcore/MJBaseHttpCallback;
|
|
.source "PictureDetailFragment.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/moji/newliveview/detail/PictureDetailFragment;->a(JJJ)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/moji/requestcore/MJBaseHttpCallback<",
|
|
"Lcom/moji/requestcore/entity/MJBaseRespRc;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:J
|
|
|
|
.field final synthetic b:J
|
|
|
|
.field final synthetic c:Lcom/moji/newliveview/detail/PictureDetailFragment;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/moji/newliveview/detail/PictureDetailFragment;JJ)V
|
|
.locals 0
|
|
|
|
.line 575
|
|
iput-object p1, p0, Lcom/moji/newliveview/detail/PictureDetailFragment$8;->c:Lcom/moji/newliveview/detail/PictureDetailFragment;
|
|
|
|
iput-wide p2, p0, Lcom/moji/newliveview/detail/PictureDetailFragment$8;->a:J
|
|
|
|
iput-wide p4, p0, Lcom/moji/newliveview/detail/PictureDetailFragment$8;->b:J
|
|
|
|
invoke-direct {p0}, Lcom/moji/requestcore/MJBaseHttpCallback;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method protected a(Lcom/moji/requestcore/entity/MJBaseRespRc;)V
|
|
.locals 4
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 578
|
|
invoke-virtual {p1}, Lcom/moji/requestcore/entity/MJBaseRespRc;->OK()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 579
|
|
iget-object p1, p0, Lcom/moji/newliveview/detail/PictureDetailFragment$8;->c:Lcom/moji/newliveview/detail/PictureDetailFragment;
|
|
|
|
invoke-static {p1}, Lcom/moji/newliveview/detail/PictureDetailFragment;->d(Lcom/moji/newliveview/detail/PictureDetailFragment;)Lcom/moji/newliveview/detail/DetailCommentAdapter;
|
|
|
|
move-result-object p1
|
|
|
|
iget-wide v0, p0, Lcom/moji/newliveview/detail/PictureDetailFragment$8;->a:J
|
|
|
|
iget-wide v2, p0, Lcom/moji/newliveview/detail/PictureDetailFragment$8;->b:J
|
|
|
|
invoke-virtual {p1, v0, v1, v2, v3}, Lcom/moji/newliveview/detail/DetailCommentAdapter;->a(JJ)V
|
|
|
|
.line 580
|
|
iget-object p1, p0, Lcom/moji/newliveview/detail/PictureDetailFragment$8;->c:Lcom/moji/newliveview/detail/PictureDetailFragment;
|
|
|
|
iget v0, p1, Lcom/moji/newliveview/detail/PictureDetailFragment;->f:I
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
iput v0, p1, Lcom/moji/newliveview/detail/PictureDetailFragment;->f:I
|
|
|
|
.line 581
|
|
iget-object p1, p0, Lcom/moji/newliveview/detail/PictureDetailFragment$8;->c:Lcom/moji/newliveview/detail/PictureDetailFragment;
|
|
|
|
iget-object v0, p0, Lcom/moji/newliveview/detail/PictureDetailFragment$8;->c:Lcom/moji/newliveview/detail/PictureDetailFragment;
|
|
|
|
iget v0, v0, Lcom/moji/newliveview/detail/PictureDetailFragment;->f:I
|
|
|
|
invoke-virtual {p1, v0}, Lcom/moji/newliveview/detail/PictureDetailFragment;->a(I)V
|
|
|
|
.line 582
|
|
sget p1, Lcom/moji/newliveview/R$string;->delete_success:I
|
|
|
|
invoke-static {p1}, Lcom/moji/tool/ToastTool;->a(I)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
if-nez p1, :cond_1
|
|
|
|
return-void
|
|
|
|
.line 586
|
|
:cond_1
|
|
invoke-virtual {p1}, Lcom/moji/requestcore/entity/MJBaseRespRc;->getDesc()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lcom/moji/tool/ToastTool;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 587
|
|
invoke-virtual {p0, p1}, Lcom/moji/newliveview/detail/PictureDetailFragment$8;->onFailed(Lcom/moji/requestcore/MJException;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method protected onFailed(Lcom/moji/requestcore/MJException;)V
|
|
.locals 0
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 596
|
|
:cond_0
|
|
sget p1, Lcom/moji/newliveview/R$string;->network_exception:I
|
|
|
|
invoke-static {p1}, Lcom/moji/tool/ToastTool;->a(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected synthetic onSuccess(Ljava/lang/Object;)V
|
|
.locals 0
|
|
|
|
.line 575
|
|
check-cast p1, Lcom/moji/requestcore/entity/MJBaseRespRc;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/moji/newliveview/detail/PictureDetailFragment$8;->a(Lcom/moji/requestcore/entity/MJBaseRespRc;)V
|
|
|
|
return-void
|
|
.end method
|