327 lines
8.7 KiB
Smali
327 lines
8.7 KiB
Smali
.class public final Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;
|
|
.super Lcom/moji/newliveview/base/BasePresenter;
|
|
.source "DynamicCommentPresenter.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter$DynamicCommentCallback;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/moji/newliveview/base/BasePresenter<",
|
|
"Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter$DynamicCommentCallback;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public c:Z
|
|
|
|
.field private d:Ljava/lang/String;
|
|
|
|
.field private e:I
|
|
|
|
.field private f:Z
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter$DynamicCommentCallback;)V
|
|
.locals 0
|
|
|
|
.line 36
|
|
invoke-direct {p0, p1}, Lcom/moji/newliveview/base/BasePresenter;-><init>(Lcom/moji/base/MJPresenter$ICallback;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 172
|
|
iput-boolean p1, p0, Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;->f:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic a(Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;Ljava/lang/String;)Ljava/lang/String;
|
|
.locals 0
|
|
|
|
.line 29
|
|
iput-object p1, p0, Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;->d:Ljava/lang/String;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method static synthetic a(Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;)Z
|
|
.locals 0
|
|
|
|
.line 29
|
|
invoke-virtual {p0}, Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;->a()Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method static synthetic a(Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;Z)Z
|
|
.locals 0
|
|
|
|
.line 29
|
|
iput-boolean p1, p0, Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;->f:Z
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method static synthetic b(Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;)Z
|
|
.locals 0
|
|
|
|
.line 29
|
|
invoke-virtual {p0}, Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;->a()Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method static synthetic c(Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;)Z
|
|
.locals 0
|
|
|
|
.line 29
|
|
invoke-virtual {p0}, Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;->a()Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method static synthetic d(Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;)Z
|
|
.locals 0
|
|
|
|
.line 29
|
|
invoke-virtual {p0}, Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;->a()Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method static synthetic e(Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;)Z
|
|
.locals 0
|
|
|
|
.line 29
|
|
invoke-virtual {p0}, Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;->a()Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method static synthetic f(Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;)Z
|
|
.locals 0
|
|
|
|
.line 29
|
|
invoke-virtual {p0}, Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;->a()Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method static synthetic g(Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;)Z
|
|
.locals 0
|
|
|
|
.line 29
|
|
invoke-virtual {p0}, Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;->a()Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(J)V
|
|
.locals 2
|
|
|
|
.line 40
|
|
new-instance v0, Lcom/moji/http/snsforum/DynamicDetailRequest;
|
|
|
|
invoke-direct {v0, p1, p2}, Lcom/moji/http/snsforum/DynamicDetailRequest;-><init>(J)V
|
|
|
|
.line 41
|
|
new-instance v1, Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter$1;
|
|
|
|
invoke-direct {v1, p0, p1, p2}, Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter$1;-><init>(Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;J)V
|
|
|
|
invoke-virtual {v0, v1}, Lcom/moji/http/snsforum/DynamicDetailRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(JJJ)V
|
|
.locals 8
|
|
|
|
.line 106
|
|
new-instance v7, Lcom/moji/http/snsforum/DeleteDynamicCommentRequest;
|
|
|
|
move-object v0, v7
|
|
|
|
move-wide v1, p1
|
|
|
|
move-wide v3, p3
|
|
|
|
move-wide v5, p5
|
|
|
|
invoke-direct/range {v0 .. v6}, Lcom/moji/http/snsforum/DeleteDynamicCommentRequest;-><init>(JJJ)V
|
|
|
|
.line 107
|
|
new-instance p1, Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter$3;
|
|
|
|
move-object v0, p1
|
|
|
|
move-object v1, p0
|
|
|
|
move-wide v2, p3
|
|
|
|
move-wide v4, p5
|
|
|
|
invoke-direct/range {v0 .. v5}, Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter$3;-><init>(Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;JJ)V
|
|
|
|
invoke-virtual {v7, p1}, Lcom/moji/http/snsforum/DeleteDynamicCommentRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(JZ)V
|
|
.locals 8
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 73
|
|
iput v1, p0, Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;->e:I
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 74
|
|
iput-object v1, p0, Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;->d:Ljava/lang/String;
|
|
|
|
goto :goto_0
|
|
|
|
.line 76
|
|
:cond_0
|
|
iput v0, p0, Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;->e:I
|
|
|
|
.line 78
|
|
:goto_0
|
|
iput-boolean v0, p0, Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;->c:Z
|
|
|
|
.line 79
|
|
new-instance v0, Lcom/moji/http/snsforum/DynamicCommentListRequest;
|
|
|
|
iget v5, p0, Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;->e:I
|
|
|
|
const/16 v6, 0x14
|
|
|
|
iget-object v7, p0, Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;->d:Ljava/lang/String;
|
|
|
|
move-object v2, v0
|
|
|
|
move-wide v3, p1
|
|
|
|
invoke-direct/range {v2 .. v7}, Lcom/moji/http/snsforum/DynamicCommentListRequest;-><init>(JIILjava/lang/String;)V
|
|
|
|
.line 80
|
|
new-instance p1, Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter$2;
|
|
|
|
invoke-direct {p1, p0, p3}, Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter$2;-><init>(Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;Z)V
|
|
|
|
invoke-virtual {v0, p1}, Lcom/moji/http/snsforum/DynamicCommentListRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Lcom/moji/newliveview/dynamic/DynamicCell;)V
|
|
.locals 3
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 177
|
|
:cond_0
|
|
iget-boolean v0, p0, Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;->f:Z
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
const/4 v0, 0x1
|
|
|
|
.line 180
|
|
iput-boolean v0, p0, Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;->f:Z
|
|
|
|
.line 181
|
|
new-instance v0, Lcom/moji/http/snsforum/DynamicPraiseRequest;
|
|
|
|
invoke-virtual {p1}, Lcom/moji/newliveview/dynamic/DynamicCell;->f()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Lcom/moji/http/snsforum/entity/PictureDynamic;
|
|
|
|
iget-wide v1, v1, Lcom/moji/http/snsforum/entity/PictureDynamic;->dynamic_id:J
|
|
|
|
invoke-direct {v0, v1, v2}, Lcom/moji/http/snsforum/DynamicPraiseRequest;-><init>(J)V
|
|
|
|
.line 182
|
|
new-instance v1, Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter$5;
|
|
|
|
invoke-direct {v1, p0, p1}, Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter$5;-><init>(Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;Lcom/moji/newliveview/dynamic/DynamicCell;)V
|
|
|
|
invoke-virtual {v0, v1}, Lcom/moji/http/snsforum/DynamicPraiseRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Ljava/lang/String;JJJILjava/lang/String;)V
|
|
.locals 12
|
|
|
|
.line 137
|
|
new-instance v11, Lcom/moji/http/snsforum/AddDynamicCommentRequest;
|
|
|
|
move/from16 v0, p8
|
|
|
|
int-to-long v8, v0
|
|
|
|
move-object v0, v11
|
|
|
|
move-wide v1, p2
|
|
|
|
move-wide/from16 v3, p4
|
|
|
|
move-wide/from16 v5, p6
|
|
|
|
move-object v7, p1
|
|
|
|
move-object/from16 v10, p9
|
|
|
|
invoke-direct/range {v0 .. v10}, Lcom/moji/http/snsforum/AddDynamicCommentRequest;-><init>(JJJLjava/lang/String;JLjava/lang/String;)V
|
|
|
|
.line 138
|
|
new-instance v0, Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter$4;
|
|
|
|
move-object v1, p0
|
|
|
|
invoke-direct {v0, p0}, Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter$4;-><init>(Lcom/moji/newliveview/dynamic/presenter/DynamicCommentPresenter;)V
|
|
|
|
invoke-virtual {v11, v0}, Lcom/moji/http/snsforum/AddDynamicCommentRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V
|
|
|
|
return-void
|
|
.end method
|