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.
217 lines
7.1 KiB
217 lines
7.1 KiB
.class Lcom/viatech/community/VideoDetailActivity$10$1; |
|
.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$10;->onClick(Landroid/content/DialogInterface;I)V |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x0 |
|
name = null |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final synthetic a:Lcom/viatech/community/VideoDetailActivity$10; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Lcom/viatech/community/VideoDetailActivity$10;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 203 |
|
iput-object p1, p0, Lcom/viatech/community/VideoDetailActivity$10$1;->a:Lcom/viatech/community/VideoDetailActivity$10; |
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public onCommunityHttpCallback(IILjava/util/List;)V |
|
.locals 6 |
|
|
|
.prologue |
|
.line 206 |
|
if-nez p1, :cond_2 |
|
|
|
.line 207 |
|
iget-object v0, p0, Lcom/viatech/community/VideoDetailActivity$10$1;->a:Lcom/viatech/community/VideoDetailActivity$10; |
|
|
|
iget-object v0, v0, Lcom/viatech/community/VideoDetailActivity$10;->b:Lcom/viatech/community/VideoDetailActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/community/VideoDetailActivity;->f(Lcom/viatech/community/VideoDetailActivity;)Ljava/util/List; |
|
|
|
move-result-object v0 |
|
|
|
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator; |
|
|
|
move-result-object v1 |
|
|
|
:cond_0 |
|
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z |
|
|
|
move-result v0 |
|
|
|
if-eqz v0, :cond_1 |
|
|
|
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object; |
|
|
|
move-result-object v0 |
|
|
|
check-cast v0, Lcom/via/vpaicloud/community/respond/CommentRsp; |
|
|
|
.line 208 |
|
iget-object v2, p0, Lcom/viatech/community/VideoDetailActivity$10$1;->a:Lcom/viatech/community/VideoDetailActivity$10; |
|
|
|
iget-object v2, v2, Lcom/viatech/community/VideoDetailActivity$10;->b:Lcom/viatech/community/VideoDetailActivity; |
|
|
|
invoke-static {v2}, Lcom/viatech/community/VideoDetailActivity;->e(Lcom/viatech/community/VideoDetailActivity;)Lcom/via/vpaicloud/community/respond/CommentRsp; |
|
|
|
move-result-object v2 |
|
|
|
iget-wide v2, v2, Lcom/via/vpaicloud/community/respond/CommentRsp;->commentid:J |
|
|
|
iget-wide v4, v0, Lcom/via/vpaicloud/community/respond/CommentRsp;->commentid:J |
|
|
|
cmp-long v2, v2, v4 |
|
|
|
if-nez v2, :cond_0 |
|
|
|
.line 209 |
|
iget-object v1, p0, Lcom/viatech/community/VideoDetailActivity$10$1;->a:Lcom/viatech/community/VideoDetailActivity$10; |
|
|
|
iget-object v1, v1, Lcom/viatech/community/VideoDetailActivity$10;->b:Lcom/viatech/community/VideoDetailActivity; |
|
|
|
invoke-static {v1}, Lcom/viatech/community/VideoDetailActivity;->f(Lcom/viatech/community/VideoDetailActivity;)Ljava/util/List; |
|
|
|
move-result-object v1 |
|
|
|
invoke-interface {v1, v0}, Ljava/util/List;->remove(Ljava/lang/Object;)Z |
|
|
|
.line 213 |
|
:cond_1 |
|
iget-object v0, p0, Lcom/viatech/community/VideoDetailActivity$10$1;->a:Lcom/viatech/community/VideoDetailActivity$10; |
|
|
|
iget-object v0, v0, Lcom/viatech/community/VideoDetailActivity$10;->b: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;->comments:J |
|
|
|
const-wide/16 v4, 0x1 |
|
|
|
sub-long/2addr v2, v4 |
|
|
|
iput-wide v2, v0, Lcom/via/vpaicloud/community/respond/Post;->comments:J |
|
|
|
.line 214 |
|
iget-object v0, p0, Lcom/viatech/community/VideoDetailActivity$10$1;->a:Lcom/viatech/community/VideoDetailActivity$10; |
|
|
|
iget-object v0, v0, Lcom/viatech/community/VideoDetailActivity$10;->b:Lcom/viatech/community/VideoDetailActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/community/VideoDetailActivity;->h(Lcom/viatech/community/VideoDetailActivity;)Landroid/widget/TextView; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v1, p0, Lcom/viatech/community/VideoDetailActivity$10$1;->a:Lcom/viatech/community/VideoDetailActivity$10; |
|
|
|
iget-object v1, v1, Lcom/viatech/community/VideoDetailActivity$10;->b:Lcom/viatech/community/VideoDetailActivity; |
|
|
|
invoke-static {v1}, Lcom/viatech/community/VideoDetailActivity;->g(Lcom/viatech/community/VideoDetailActivity;)Lcom/via/vpaicloud/community/respond/Post; |
|
|
|
move-result-object v1 |
|
|
|
iget-wide v2, v1, Lcom/via/vpaicloud/community/respond/Post;->comments:J |
|
|
|
invoke-static {v2, v3}, Ljava/lang/String;->valueOf(J)Ljava/lang/String; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V |
|
|
|
.line 215 |
|
invoke-static {}, Lorg/greenrobot/eventbus/c;->a()Lorg/greenrobot/eventbus/c; |
|
|
|
move-result-object v0 |
|
|
|
new-instance v1, Lcom/viatech/community/a/a; |
|
|
|
const/4 v2, 0x0 |
|
|
|
iget-object v3, p0, Lcom/viatech/community/VideoDetailActivity$10$1;->a:Lcom/viatech/community/VideoDetailActivity$10; |
|
|
|
iget-object v3, v3, Lcom/viatech/community/VideoDetailActivity$10;->b: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 |
|
|
|
invoke-direct {v1, v2, v4, v5}, Lcom/viatech/community/a/a;-><init>(ZJ)V |
|
|
|
invoke-virtual {v0, v1}, Lorg/greenrobot/eventbus/c;->c(Ljava/lang/Object;)V |
|
|
|
.line 216 |
|
iget-object v0, p0, Lcom/viatech/community/VideoDetailActivity$10$1;->a:Lcom/viatech/community/VideoDetailActivity$10; |
|
|
|
iget-object v0, v0, Lcom/viatech/community/VideoDetailActivity$10;->b:Lcom/viatech/community/VideoDetailActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/community/VideoDetailActivity;->i(Lcom/viatech/community/VideoDetailActivity;)Lcom/viatech/community/adapter/DetailAdapter; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Lcom/viatech/community/adapter/DetailAdapter;->notifyDataSetChanged()V |
|
|
|
.line 217 |
|
iget-object v0, p0, Lcom/viatech/community/VideoDetailActivity$10$1;->a:Lcom/viatech/community/VideoDetailActivity$10; |
|
|
|
iget-object v0, v0, Lcom/viatech/community/VideoDetailActivity$10;->b:Lcom/viatech/community/VideoDetailActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/community/VideoDetailActivity;->j(Lcom/viatech/community/VideoDetailActivity;)Lcom/viatech/community/listener/EndlessRecyclerOnScrollListener; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Lcom/viatech/community/listener/EndlessRecyclerOnScrollListener;->a()V |
|
|
|
.line 218 |
|
const v0, 0x7f070148 |
|
|
|
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V |
|
|
|
.line 226 |
|
:goto_0 |
|
return-void |
|
|
|
.line 220 |
|
:cond_2 |
|
const/4 v0, -0x1 |
|
|
|
if-ne p1, v0, :cond_3 |
|
|
|
.line 221 |
|
const v0, 0x7f070068 |
|
|
|
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V |
|
|
|
goto :goto_0 |
|
|
|
.line 223 |
|
:cond_3 |
|
const v0, 0x7f070147 |
|
|
|
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V |
|
|
|
goto :goto_0 |
|
.end method
|
|
|