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.
184 lines
5.7 KiB
184 lines
5.7 KiB
.class Lcom/viatech/community/VideoDetailActivity$2; |
|
.super Ljava/lang/Object; |
|
.source "VideoDetailActivity.java" |
|
|
|
# interfaces |
|
.implements Lcom/via/vpaicloud/community/callback/CommunityHttpCallback; |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingMethod; |
|
value = Lcom/viatech/community/VideoDetailActivity;->d()V |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x0 |
|
name = null |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final synthetic a:Lcom/viatech/community/VideoDetailActivity; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Lcom/viatech/community/VideoDetailActivity;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 355 |
|
iput-object p1, p0, Lcom/viatech/community/VideoDetailActivity$2;->a:Lcom/viatech/community/VideoDetailActivity; |
|
|
|
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 358 |
|
iget-object v0, p0, Lcom/viatech/community/VideoDetailActivity$2;->a:Lcom/viatech/community/VideoDetailActivity; |
|
|
|
invoke-static {v0, v1}, Lcom/viatech/community/VideoDetailActivity;->b(Lcom/viatech/community/VideoDetailActivity;Z)Z |
|
|
|
.line 359 |
|
if-nez p1, :cond_2 |
|
|
|
.line 360 |
|
iget-object v0, p0, Lcom/viatech/community/VideoDetailActivity$2;->a:Lcom/viatech/community/VideoDetailActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/community/VideoDetailActivity;->g(Lcom/viatech/community/VideoDetailActivity;)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 361 |
|
:goto_0 |
|
iget-object v2, p0, Lcom/viatech/community/VideoDetailActivity$2;->a:Lcom/viatech/community/VideoDetailActivity; |
|
|
|
invoke-static {v2}, Lcom/viatech/community/VideoDetailActivity;->g(Lcom/viatech/community/VideoDetailActivity;)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 362 |
|
iget-object v2, p0, Lcom/viatech/community/VideoDetailActivity$2;->a:Lcom/viatech/community/VideoDetailActivity; |
|
|
|
invoke-static {v2}, Lcom/viatech/community/VideoDetailActivity;->g(Lcom/viatech/community/VideoDetailActivity;)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/VideoDetailActivity$2;->a:Lcom/viatech/community/VideoDetailActivity; |
|
|
|
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 363 |
|
iget-object v2, p0, Lcom/viatech/community/VideoDetailActivity$2;->a:Lcom/viatech/community/VideoDetailActivity; |
|
|
|
invoke-static {v2}, Lcom/viatech/community/VideoDetailActivity;->g(Lcom/viatech/community/VideoDetailActivity;)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 361 |
|
:cond_0 |
|
add-int/lit8 v0, v0, 0x1 |
|
|
|
goto :goto_0 |
|
|
|
.line 366 |
|
:cond_1 |
|
iget-object v0, p0, Lcom/viatech/community/VideoDetailActivity$2;->a:Lcom/viatech/community/VideoDetailActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/community/VideoDetailActivity;->n(Lcom/viatech/community/VideoDetailActivity;)Landroid/widget/TextView; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v2, p0, Lcom/viatech/community/VideoDetailActivity$2;->a:Lcom/viatech/community/VideoDetailActivity; |
|
|
|
invoke-static {v2}, Lcom/viatech/community/VideoDetailActivity;->g(Lcom/viatech/community/VideoDetailActivity;)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 367 |
|
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/VideoDetailActivity$2;->a:Lcom/viatech/community/VideoDetailActivity; |
|
|
|
invoke-static {v3}, Lcom/viatech/community/VideoDetailActivity;->g(Lcom/viatech/community/VideoDetailActivity;)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 371 |
|
:goto_1 |
|
return-void |
|
|
|
.line 369 |
|
:cond_2 |
|
const v0, 0x7f0701da |
|
|
|
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V |
|
|
|
goto :goto_1 |
|
.end method
|
|
|