今奥全景相机
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.

160 lines
4.4 KiB

.class Lcom/viatech/community/PhotoDetailActivity$9;
.super Ljava/lang/Object;
.source "PhotoDetailActivity.java"
# interfaces
.implements Lcom/via/vpaicloud/community/callback/CommunityHttpCallback;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/viatech/community/PhotoDetailActivity;->a(I)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic a:Lcom/viatech/community/PhotoDetailActivity;
# direct methods
.method constructor <init>(Lcom/viatech/community/PhotoDetailActivity;)V
.locals 0
.prologue
.line 626
iput-object p1, p0, Lcom/viatech/community/PhotoDetailActivity$9;->a:Lcom/viatech/community/PhotoDetailActivity;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onCommunityHttpCallback(IILjava/util/List;)V
.locals 3
.prologue
.line 629
iget-object v0, p0, Lcom/viatech/community/PhotoDetailActivity$9;->a:Lcom/viatech/community/PhotoDetailActivity;
invoke-static {v0}, Lcom/viatech/community/PhotoDetailActivity;->c(Lcom/viatech/community/PhotoDetailActivity;)Landroid/widget/RelativeLayout;
move-result-object v0
const/16 v1, 0x8
invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V
.line 630
iget-object v0, p0, Lcom/viatech/community/PhotoDetailActivity$9;->a:Lcom/viatech/community/PhotoDetailActivity;
const/4 v1, 0x0
invoke-static {v0, v1}, Lcom/viatech/community/PhotoDetailActivity;->a(Lcom/viatech/community/PhotoDetailActivity;Z)Z
.line 631
if-nez p1, :cond_2
.line 632
if-eqz p3, :cond_0
invoke-interface {p3}, Ljava/util/List;->size()I
move-result v0
if-ltz v0, :cond_0
.line 633
invoke-interface {p3}, Ljava/util/List;->size()I
move-result v0
if-nez v0, :cond_1
.line 634
iget-object v0, p0, Lcom/viatech/community/PhotoDetailActivity$9;->a:Lcom/viatech/community/PhotoDetailActivity;
invoke-static {v0}, Lcom/viatech/community/PhotoDetailActivity;->r(Lcom/viatech/community/PhotoDetailActivity;)Landroid/widget/TextView;
move-result-object v0
const v1, 0x7f0700f8
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V
.line 639
:cond_0
:goto_0
iget-object v0, p0, Lcom/viatech/community/PhotoDetailActivity$9;->a:Lcom/viatech/community/PhotoDetailActivity;
invoke-static {v0}, Lcom/viatech/community/PhotoDetailActivity;->i(Lcom/viatech/community/PhotoDetailActivity;)Lcom/viatech/community/adapter/DetailAdapter;
move-result-object v0
invoke-virtual {v0}, Lcom/viatech/community/adapter/DetailAdapter;->notifyDataSetChanged()V
.line 647
:goto_1
return-void
.line 636
:cond_1
iget-object v0, p0, Lcom/viatech/community/PhotoDetailActivity$9;->a:Lcom/viatech/community/PhotoDetailActivity;
invoke-static {v0}, Lcom/viatech/community/PhotoDetailActivity;->g(Lcom/viatech/community/PhotoDetailActivity;)Ljava/util/List;
move-result-object v0
invoke-interface {v0, p3}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
goto :goto_0
.line 640
:cond_2
const/16 v0, 0x1f9
if-ne p1, v0, :cond_3
.line 641
const v0, 0x7f0701d5
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V
.line 642
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/PhotoDetailActivity$9;->a:Lcom/viatech/community/PhotoDetailActivity;
invoke-static {v2}, Lcom/viatech/community/PhotoDetailActivity;->e(Lcom/viatech/community/PhotoDetailActivity;)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 643
iget-object v0, p0, Lcom/viatech/community/PhotoDetailActivity$9;->a:Lcom/viatech/community/PhotoDetailActivity;
invoke-virtual {v0}, Lcom/viatech/community/PhotoDetailActivity;->finish()V
goto :goto_1
.line 645
:cond_3
const v0, 0x7f0700f3
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V
goto :goto_1
.end method