.class Lcom/viatech/community/UserFollowActivity$7; .super Ljava/lang/Object; .source "UserFollowActivity.java" # interfaces .implements Lcom/via/vpaicloud/community/callback/CommunityHttpCallback; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/viatech/community/UserFollowActivity;->b(I)V .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x0 name = null .end annotation # instance fields .field final synthetic a:I .field final synthetic b:Lcom/via/vpaicloud/community/request/FollowReq; .field final synthetic c:Lcom/viatech/community/UserFollowActivity; # direct methods .method constructor (Lcom/viatech/community/UserFollowActivity;ILcom/via/vpaicloud/community/request/FollowReq;)V .locals 0 .prologue .line 314 iput-object p1, p0, Lcom/viatech/community/UserFollowActivity$7;->c:Lcom/viatech/community/UserFollowActivity; iput p2, p0, Lcom/viatech/community/UserFollowActivity$7;->a:I iput-object p3, p0, Lcom/viatech/community/UserFollowActivity$7;->b:Lcom/via/vpaicloud/community/request/FollowReq; invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public onCommunityHttpCallback(IILjava/util/List;)V .locals 3 .prologue .line 317 iget-object v0, p0, Lcom/viatech/community/UserFollowActivity$7;->c:Lcom/viatech/community/UserFollowActivity; const/4 v1, 0x0 invoke-static {v0, v1}, Lcom/viatech/community/UserFollowActivity;->a(Lcom/viatech/community/UserFollowActivity;Z)Z .line 318 if-nez p1, :cond_0 .line 319 iget-object v0, p0, Lcom/viatech/community/UserFollowActivity$7;->c:Lcom/viatech/community/UserFollowActivity; invoke-static {v0}, Lcom/viatech/community/UserFollowActivity;->b(Lcom/viatech/community/UserFollowActivity;)Ljava/util/List; move-result-object v0 iget v1, p0, Lcom/viatech/community/UserFollowActivity$7;->a:I invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object; move-result-object v0 check-cast v0, Lcom/via/vpaicloud/community/respond/UserCenterInfo; iget-object v1, p0, Lcom/viatech/community/UserFollowActivity$7;->c:Lcom/viatech/community/UserFollowActivity; invoke-static {v1}, Lcom/viatech/community/UserFollowActivity;->b(Lcom/viatech/community/UserFollowActivity;)Ljava/util/List; move-result-object v1 iget v2, p0, Lcom/viatech/community/UserFollowActivity$7;->a:I invoke-interface {v1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object; move-result-object v1 check-cast v1, Lcom/via/vpaicloud/community/respond/UserCenterInfo; iget v1, v1, Lcom/via/vpaicloud/community/respond/UserCenterInfo;->isFollowed:I rsub-int/lit8 v1, v1, 0x1 iput v1, v0, Lcom/via/vpaicloud/community/respond/UserCenterInfo;->isFollowed:I .line 320 iget-object v0, p0, Lcom/viatech/community/UserFollowActivity$7;->c:Lcom/viatech/community/UserFollowActivity; invoke-static {v0}, Lcom/viatech/community/UserFollowActivity;->g(Lcom/viatech/community/UserFollowActivity;)Lcom/viatech/community/adapter/UserFollowAdapter; move-result-object v0 invoke-virtual {v0}, Lcom/viatech/community/adapter/UserFollowAdapter;->notifyDataSetChanged()V .line 328 :goto_0 return-void .line 322 :cond_0 iget-object v0, p0, Lcom/viatech/community/UserFollowActivity$7;->b:Lcom/via/vpaicloud/community/request/FollowReq; iget v0, v0, Lcom/via/vpaicloud/community/request/FollowReq;->type:I if-nez v0, :cond_1 .line 323 const v0, 0x7f0701dc invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V goto :goto_0 .line 325 :cond_1 const v0, 0x7f0701d7 invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V goto :goto_0 .end method