You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
220 lines
6.7 KiB
220 lines
6.7 KiB
2 years ago
|
.class Lcom/viatech/community/PhotoSpaceActivity$8;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "PhotoSpaceActivity.java"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Lcom/via/vpaicloud/community/callback/CommunityHttpCallback;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||
|
value = Lcom/viatech/community/PhotoSpaceActivity;->m()V
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x0
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field final synthetic a:Lcom/viatech/community/PhotoSpaceActivity;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>(Lcom/viatech/community/PhotoSpaceActivity;)V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 358
|
||
|
iput-object p1, p0, Lcom/viatech/community/PhotoSpaceActivity$8;->a:Lcom/viatech/community/PhotoSpaceActivity;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public onCommunityHttpCallback(IILjava/util/List;)V
|
||
|
.locals 6
|
||
|
|
||
|
.prologue
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
.line 361
|
||
|
iget-object v0, p0, Lcom/viatech/community/PhotoSpaceActivity$8;->a:Lcom/viatech/community/PhotoSpaceActivity;
|
||
|
|
||
|
invoke-static {v0, v1}, Lcom/viatech/community/PhotoSpaceActivity;->a(Lcom/viatech/community/PhotoSpaceActivity;Z)Z
|
||
|
|
||
|
.line 362
|
||
|
if-nez p1, :cond_2
|
||
|
|
||
|
.line 363
|
||
|
iget-object v0, p0, Lcom/viatech/community/PhotoSpaceActivity$8;->a:Lcom/viatech/community/PhotoSpaceActivity;
|
||
|
|
||
|
invoke-static {v0}, Lcom/viatech/community/PhotoSpaceActivity;->b(Lcom/viatech/community/PhotoSpaceActivity;)Lcom/via/vpaicloud/community/respond/Post;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iget-wide v2, v0, Lcom/via/vpaicloud/community/respond/Post;->up:J
|
||
|
|
||
|
const-wide/16 v4, 0x1
|
||
|
|
||
|
sub-long/2addr v2, v4
|
||
|
|
||
|
iput-wide v2, v0, Lcom/via/vpaicloud/community/respond/Post;->up:J
|
||
|
|
||
|
move v0, v1
|
||
|
|
||
|
.line 364
|
||
|
:goto_0
|
||
|
iget-object v2, p0, Lcom/viatech/community/PhotoSpaceActivity$8;->a:Lcom/viatech/community/PhotoSpaceActivity;
|
||
|
|
||
|
invoke-static {v2}, Lcom/viatech/community/PhotoSpaceActivity;->b(Lcom/viatech/community/PhotoSpaceActivity;)Lcom/via/vpaicloud/community/respond/Post;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
iget-object v2, v2, Lcom/via/vpaicloud/community/respond/Post;->likes:[Lcom/via/vpaicloud/community/respond/Likes;
|
||
|
|
||
|
array-length v2, v2
|
||
|
|
||
|
if-ge v0, v2, :cond_1
|
||
|
|
||
|
.line 365
|
||
|
iget-object v2, p0, Lcom/viatech/community/PhotoSpaceActivity$8;->a:Lcom/viatech/community/PhotoSpaceActivity;
|
||
|
|
||
|
invoke-static {v2}, Lcom/viatech/community/PhotoSpaceActivity;->b(Lcom/viatech/community/PhotoSpaceActivity;)Lcom/via/vpaicloud/community/respond/Post;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
iget-object v2, v2, Lcom/via/vpaicloud/community/respond/Post;->likes:[Lcom/via/vpaicloud/community/respond/Likes;
|
||
|
|
||
|
aget-object v2, v2, v0
|
||
|
|
||
|
iget-wide v2, v2, Lcom/via/vpaicloud/community/respond/Likes;->userid:J
|
||
|
|
||
|
iget-object v4, p0, Lcom/viatech/community/PhotoSpaceActivity$8;->a:Lcom/viatech/community/PhotoSpaceActivity;
|
||
|
|
||
|
invoke-static {v4}, Lcom/viatech/community/b/a;->a(Landroid/content/Context;)Lcom/viatech/community/b/a;
|
||
|
|
||
|
move-result-object v4
|
||
|
|
||
|
iget-wide v4, v4, Lcom/viatech/community/b/a;->e:J
|
||
|
|
||
|
cmp-long v2, v2, v4
|
||
|
|
||
|
if-nez v2, :cond_0
|
||
|
|
||
|
.line 366
|
||
|
iget-object v2, p0, Lcom/viatech/community/PhotoSpaceActivity$8;->a:Lcom/viatech/community/PhotoSpaceActivity;
|
||
|
|
||
|
invoke-static {v2}, Lcom/viatech/community/PhotoSpaceActivity;->b(Lcom/viatech/community/PhotoSpaceActivity;)Lcom/via/vpaicloud/community/respond/Post;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
iget-object v2, v2, Lcom/via/vpaicloud/community/respond/Post;->likes:[Lcom/via/vpaicloud/community/respond/Likes;
|
||
|
|
||
|
aget-object v2, v2, v0
|
||
|
|
||
|
const-wide/16 v4, 0x0
|
||
|
|
||
|
iput-wide v4, v2, Lcom/via/vpaicloud/community/respond/Likes;->userid:J
|
||
|
|
||
|
.line 364
|
||
|
:cond_0
|
||
|
add-int/lit8 v0, v0, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 369
|
||
|
:cond_1
|
||
|
iget-object v0, p0, Lcom/viatech/community/PhotoSpaceActivity$8;->a:Lcom/viatech/community/PhotoSpaceActivity;
|
||
|
|
||
|
invoke-static {v0}, Lcom/viatech/community/PhotoSpaceActivity;->c(Lcom/viatech/community/PhotoSpaceActivity;)Landroid/widget/TextView;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iget-object v2, p0, Lcom/viatech/community/PhotoSpaceActivity$8;->a:Lcom/viatech/community/PhotoSpaceActivity;
|
||
|
|
||
|
invoke-static {v2}, Lcom/viatech/community/PhotoSpaceActivity;->b(Lcom/viatech/community/PhotoSpaceActivity;)Lcom/via/vpaicloud/community/respond/Post;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
iget-wide v2, v2, Lcom/via/vpaicloud/community/respond/Post;->up:J
|
||
|
|
||
|
invoke-static {v2, v3}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
||
|
|
||
|
.line 370
|
||
|
invoke-static {}, Lorg/greenrobot/eventbus/c;->a()Lorg/greenrobot/eventbus/c;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
new-instance v2, Lcom/viatech/community/a/d;
|
||
|
|
||
|
iget-object v3, p0, Lcom/viatech/community/PhotoSpaceActivity$8;->a:Lcom/viatech/community/PhotoSpaceActivity;
|
||
|
|
||
|
invoke-static {v3}, Lcom/viatech/community/PhotoSpaceActivity;->b(Lcom/viatech/community/PhotoSpaceActivity;)Lcom/via/vpaicloud/community/respond/Post;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
iget-wide v4, v3, Lcom/via/vpaicloud/community/respond/Post;->postid:J
|
||
|
|
||
|
sget-object v3, Lcom/viatech/community/a/d$a;->c:Lcom/viatech/community/a/d$a;
|
||
|
|
||
|
invoke-direct {v2, v1, v4, v5, v3}, Lcom/viatech/community/a/d;-><init>(ZJLcom/viatech/community/a/d$a;)V
|
||
|
|
||
|
invoke-virtual {v0, v2}, Lorg/greenrobot/eventbus/c;->c(Ljava/lang/Object;)V
|
||
|
|
||
|
.line 378
|
||
|
:goto_1
|
||
|
return-void
|
||
|
|
||
|
.line 371
|
||
|
:cond_2
|
||
|
const/16 v0, 0x1f9
|
||
|
|
||
|
if-ne p1, v0, :cond_3
|
||
|
|
||
|
.line 372
|
||
|
const v0, 0x7f0701d5
|
||
|
|
||
|
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V
|
||
|
|
||
|
.line 373
|
||
|
invoke-static {}, Lorg/greenrobot/eventbus/c;->a()Lorg/greenrobot/eventbus/c;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
new-instance v1, Lcom/viatech/community/a/c;
|
||
|
|
||
|
iget-object v2, p0, Lcom/viatech/community/PhotoSpaceActivity$8;->a:Lcom/viatech/community/PhotoSpaceActivity;
|
||
|
|
||
|
invoke-static {v2}, Lcom/viatech/community/PhotoSpaceActivity;->b(Lcom/viatech/community/PhotoSpaceActivity;)Lcom/via/vpaicloud/community/respond/Post;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-direct {v1, v2}, Lcom/viatech/community/a/c;-><init>(Lcom/via/vpaicloud/community/respond/Post;)V
|
||
|
|
||
|
invoke-virtual {v0, v1}, Lorg/greenrobot/eventbus/c;->c(Ljava/lang/Object;)V
|
||
|
|
||
|
.line 374
|
||
|
iget-object v0, p0, Lcom/viatech/community/PhotoSpaceActivity$8;->a:Lcom/viatech/community/PhotoSpaceActivity;
|
||
|
|
||
|
invoke-virtual {v0}, Lcom/viatech/community/PhotoSpaceActivity;->finish()V
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
.line 376
|
||
|
:cond_3
|
||
|
const v0, 0x7f0701da
|
||
|
|
||
|
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V
|
||
|
|
||
|
goto :goto_1
|
||
|
.end method
|