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

154 lines
4.5 KiB

.class Lcom/viatech/community/UserCenterActivity$3;
.super Ljava/lang/Object;
.source "UserCenterActivity.java"
# interfaces
.implements Lcom/via/vpaicloud/community/callback/CommunityHttpCallback;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/viatech/community/UserCenterActivity;->a(Lcom/via/vpaicloud/community/respond/Post;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic a:Lcom/viatech/community/UserCenterActivity;
# direct methods
.method constructor <init>(Lcom/viatech/community/UserCenterActivity;)V
.locals 0
.prologue
.line 183
iput-object p1, p0, Lcom/viatech/community/UserCenterActivity$3;->a:Lcom/viatech/community/UserCenterActivity;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onCommunityHttpCallback(IILjava/util/List;)V
.locals 7
.prologue
const/4 v6, 0x0
.line 186
iget-object v0, p0, Lcom/viatech/community/UserCenterActivity$3;->a:Lcom/viatech/community/UserCenterActivity;
invoke-static {v0, v6}, Lcom/viatech/community/UserCenterActivity;->b(Lcom/viatech/community/UserCenterActivity;Z)Z
.line 187
if-nez p1, :cond_1
.line 188
iget-object v0, p0, Lcom/viatech/community/UserCenterActivity$3;->a:Lcom/viatech/community/UserCenterActivity;
invoke-static {v0}, Lcom/viatech/community/UserCenterActivity;->a(Lcom/viatech/community/UserCenterActivity;)Ljava/util/List;
move-result-object v0
if-eqz v0, :cond_2
iget-object v0, p0, Lcom/viatech/community/UserCenterActivity$3;->a:Lcom/viatech/community/UserCenterActivity;
invoke-static {v0}, Lcom/viatech/community/UserCenterActivity;->a(Lcom/viatech/community/UserCenterActivity;)Ljava/util/List;
move-result-object v0
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v0
if-lez v0, :cond_2
.line 189
iget-object v0, p0, Lcom/viatech/community/UserCenterActivity$3;->a:Lcom/viatech/community/UserCenterActivity;
invoke-static {v0}, Lcom/viatech/community/UserCenterActivity;->a(Lcom/viatech/community/UserCenterActivity;)Ljava/util/List;
move-result-object v0
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v1
:cond_0
:goto_0
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_2
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/via/vpaicloud/community/respond/Post;
.line 190
iget-wide v2, v0, Lcom/via/vpaicloud/community/respond/Post;->postid:J
iget-object v4, p0, Lcom/viatech/community/UserCenterActivity$3;->a:Lcom/viatech/community/UserCenterActivity;
invoke-static {v4}, Lcom/viatech/community/UserCenterActivity;->e(Lcom/viatech/community/UserCenterActivity;)Lcom/via/vpaicloud/community/respond/Post;
move-result-object v4
iget-wide v4, v4, Lcom/via/vpaicloud/community/respond/Post;->postid:J
cmp-long v2, v2, v4
if-nez v2, :cond_0
.line 191
iget-object v2, p0, Lcom/viatech/community/UserCenterActivity$3;->a:Lcom/viatech/community/UserCenterActivity;
invoke-static {v2, v0}, Lcom/viatech/community/UserCenterActivity;->b(Lcom/viatech/community/UserCenterActivity;Lcom/via/vpaicloud/community/respond/Post;)V
.line 192
invoke-static {}, Lorg/greenrobot/eventbus/c;->a()Lorg/greenrobot/eventbus/c;
move-result-object v2
new-instance v3, Lcom/viatech/community/a/d;
iget-wide v4, v0, Lcom/via/vpaicloud/community/respond/Post;->postid:J
sget-object v0, Lcom/viatech/community/a/d$a;->d:Lcom/viatech/community/a/d$a;
invoke-direct {v3, v6, v4, v5, v0}, Lcom/viatech/community/a/d;-><init>(ZJLcom/viatech/community/a/d$a;)V
invoke-virtual {v2, v3}, Lorg/greenrobot/eventbus/c;->c(Ljava/lang/Object;)V
.line 193
iget-object v0, p0, Lcom/viatech/community/UserCenterActivity$3;->a:Lcom/viatech/community/UserCenterActivity;
invoke-static {v0}, Lcom/viatech/community/UserCenterActivity;->f(Lcom/viatech/community/UserCenterActivity;)Lcom/viatech/community/adapter/UserCenterAdapter;
move-result-object v0
invoke-virtual {v0}, Lcom/viatech/community/adapter/UserCenterAdapter;->notifyDataSetChanged()V
goto :goto_0
.line 198
:cond_1
const v0, 0x7f0701da
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V
.line 200
:cond_2
return-void
.end method