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.
219 lines
6.7 KiB
219 lines
6.7 KiB
.class Lcom/viatech/community/VideoSpaceActivity$5; |
|
.super Ljava/lang/Object; |
|
.source "VideoSpaceActivity.java" |
|
|
|
# interfaces |
|
.implements Lcom/via/vpaicloud/community/callback/CommunityHttpCallback; |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingMethod; |
|
value = Lcom/viatech/community/VideoSpaceActivity;->k()V |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x0 |
|
name = null |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final synthetic a:Lcom/viatech/community/VideoSpaceActivity; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Lcom/viatech/community/VideoSpaceActivity;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 326 |
|
iput-object p1, p0, Lcom/viatech/community/VideoSpaceActivity$5;->a:Lcom/viatech/community/VideoSpaceActivity; |
|
|
|
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 329 |
|
iget-object v0, p0, Lcom/viatech/community/VideoSpaceActivity$5;->a:Lcom/viatech/community/VideoSpaceActivity; |
|
|
|
invoke-static {v0, v1}, Lcom/viatech/community/VideoSpaceActivity;->a(Lcom/viatech/community/VideoSpaceActivity;Z)Z |
|
|
|
.line 330 |
|
if-nez p1, :cond_2 |
|
|
|
.line 331 |
|
iget-object v0, p0, Lcom/viatech/community/VideoSpaceActivity$5;->a:Lcom/viatech/community/VideoSpaceActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/community/VideoSpaceActivity;->b(Lcom/viatech/community/VideoSpaceActivity;)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 332 |
|
:goto_0 |
|
iget-object v2, p0, Lcom/viatech/community/VideoSpaceActivity$5;->a:Lcom/viatech/community/VideoSpaceActivity; |
|
|
|
invoke-static {v2}, Lcom/viatech/community/VideoSpaceActivity;->b(Lcom/viatech/community/VideoSpaceActivity;)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 333 |
|
iget-object v2, p0, Lcom/viatech/community/VideoSpaceActivity$5;->a:Lcom/viatech/community/VideoSpaceActivity; |
|
|
|
invoke-static {v2}, Lcom/viatech/community/VideoSpaceActivity;->b(Lcom/viatech/community/VideoSpaceActivity;)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/VideoSpaceActivity$5;->a:Lcom/viatech/community/VideoSpaceActivity; |
|
|
|
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 334 |
|
iget-object v2, p0, Lcom/viatech/community/VideoSpaceActivity$5;->a:Lcom/viatech/community/VideoSpaceActivity; |
|
|
|
invoke-static {v2}, Lcom/viatech/community/VideoSpaceActivity;->b(Lcom/viatech/community/VideoSpaceActivity;)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 332 |
|
:cond_0 |
|
add-int/lit8 v0, v0, 0x1 |
|
|
|
goto :goto_0 |
|
|
|
.line 337 |
|
:cond_1 |
|
iget-object v0, p0, Lcom/viatech/community/VideoSpaceActivity$5;->a:Lcom/viatech/community/VideoSpaceActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/community/VideoSpaceActivity;->c(Lcom/viatech/community/VideoSpaceActivity;)Landroid/widget/TextView; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v2, p0, Lcom/viatech/community/VideoSpaceActivity$5;->a:Lcom/viatech/community/VideoSpaceActivity; |
|
|
|
invoke-static {v2}, Lcom/viatech/community/VideoSpaceActivity;->b(Lcom/viatech/community/VideoSpaceActivity;)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 338 |
|
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/VideoSpaceActivity$5;->a:Lcom/viatech/community/VideoSpaceActivity; |
|
|
|
invoke-static {v3}, Lcom/viatech/community/VideoSpaceActivity;->b(Lcom/viatech/community/VideoSpaceActivity;)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 346 |
|
:goto_1 |
|
return-void |
|
|
|
.line 339 |
|
:cond_2 |
|
const/16 v0, 0x1f9 |
|
|
|
if-ne p1, v0, :cond_3 |
|
|
|
.line 340 |
|
const v0, 0x7f0701d5 |
|
|
|
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V |
|
|
|
.line 341 |
|
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/VideoSpaceActivity$5;->a:Lcom/viatech/community/VideoSpaceActivity; |
|
|
|
invoke-static {v2}, Lcom/viatech/community/VideoSpaceActivity;->b(Lcom/viatech/community/VideoSpaceActivity;)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 342 |
|
iget-object v0, p0, Lcom/viatech/community/VideoSpaceActivity$5;->a:Lcom/viatech/community/VideoSpaceActivity; |
|
|
|
invoke-virtual {v0}, Lcom/viatech/community/VideoSpaceActivity;->finish()V |
|
|
|
goto :goto_1 |
|
|
|
.line 344 |
|
:cond_3 |
|
const v0, 0x7f0701da |
|
|
|
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V |
|
|
|
goto :goto_1 |
|
.end method
|
|
|