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

156 lines
4.6 KiB

.class Lcom/viatech/community/UserCenterActivity$4;
.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 208
iput-object p1, p0, Lcom/viatech/community/UserCenterActivity$4;->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 8
.prologue
.line 211
iget-object v0, p0, Lcom/viatech/community/UserCenterActivity$4;->a:Lcom/viatech/community/UserCenterActivity;
const/4 v1, 0x0
invoke-static {v0, v1}, Lcom/viatech/community/UserCenterActivity;->b(Lcom/viatech/community/UserCenterActivity;Z)Z
.line 212
if-nez p1, :cond_1
.line 213
iget-object v0, p0, Lcom/viatech/community/UserCenterActivity$4;->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$4;->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 214
iget-object v0, p0, Lcom/viatech/community/UserCenterActivity$4;->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 215
iget-wide v2, v0, Lcom/via/vpaicloud/community/respond/Post;->postid:J
iget-object v4, p0, Lcom/viatech/community/UserCenterActivity$4;->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 216
iget-object v2, p0, Lcom/viatech/community/UserCenterActivity$4;->a:Lcom/viatech/community/UserCenterActivity;
invoke-static {v2, v0}, Lcom/viatech/community/UserCenterActivity;->c(Lcom/viatech/community/UserCenterActivity;Lcom/via/vpaicloud/community/respond/Post;)V
.line 217
invoke-static {}, Lorg/greenrobot/eventbus/c;->a()Lorg/greenrobot/eventbus/c;
move-result-object v2
new-instance v3, Lcom/viatech/community/a/d;
const/4 v4, 0x1
iget-wide v6, 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, v4, v6, v7, 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 218
iget-object v0, p0, Lcom/viatech/community/UserCenterActivity$4;->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 223
:cond_1
const v0, 0x7f0701d9
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V
.line 225
:cond_2
return-void
.end method