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.
238 lines
8.1 KiB
238 lines
8.1 KiB
.class Lcom/viatech/community/UserCenterActivity$7; |
|
.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;->onClick(Landroid/view/View;)V |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x0 |
|
name = null |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final synthetic a:Lcom/via/vpaicloud/community/request/FollowReq; |
|
|
|
.field final synthetic b:Lcom/viatech/community/UserCenterActivity; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Lcom/viatech/community/UserCenterActivity;Lcom/via/vpaicloud/community/request/FollowReq;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 454 |
|
iput-object p1, p0, Lcom/viatech/community/UserCenterActivity$7;->b:Lcom/viatech/community/UserCenterActivity; |
|
|
|
iput-object p2, p0, Lcom/viatech/community/UserCenterActivity$7;->a:Lcom/via/vpaicloud/community/request/FollowReq; |
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public onCommunityHttpCallback(IILjava/util/List;)V |
|
.locals 5 |
|
|
|
.prologue |
|
const/4 v4, 0x0 |
|
|
|
const/4 v3, 0x0 |
|
|
|
.line 457 |
|
iget-object v0, p0, Lcom/viatech/community/UserCenterActivity$7;->b:Lcom/viatech/community/UserCenterActivity; |
|
|
|
invoke-static {v0, v4}, Lcom/viatech/community/UserCenterActivity;->a(Lcom/viatech/community/UserCenterActivity;Z)Z |
|
|
|
.line 458 |
|
if-nez p1, :cond_1 |
|
|
|
.line 459 |
|
iget-object v0, p0, Lcom/viatech/community/UserCenterActivity$7;->b:Lcom/viatech/community/UserCenterActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/community/UserCenterActivity;->g(Lcom/viatech/community/UserCenterActivity;)Lcom/via/vpaicloud/community/respond/UserCenterInfo; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v1, p0, Lcom/viatech/community/UserCenterActivity$7;->b:Lcom/viatech/community/UserCenterActivity; |
|
|
|
invoke-static {v1}, Lcom/viatech/community/UserCenterActivity;->g(Lcom/viatech/community/UserCenterActivity;)Lcom/via/vpaicloud/community/respond/UserCenterInfo; |
|
|
|
move-result-object v1 |
|
|
|
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 460 |
|
iget-object v0, p0, Lcom/viatech/community/UserCenterActivity$7;->b:Lcom/viatech/community/UserCenterActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/community/UserCenterActivity;->g(Lcom/viatech/community/UserCenterActivity;)Lcom/via/vpaicloud/community/respond/UserCenterInfo; |
|
|
|
move-result-object v0 |
|
|
|
iget v0, v0, Lcom/via/vpaicloud/community/respond/UserCenterInfo;->isFollowed:I |
|
|
|
const/4 v1, 0x1 |
|
|
|
if-ne v0, v1, :cond_0 |
|
|
|
.line 461 |
|
iget-object v0, p0, Lcom/viatech/community/UserCenterActivity$7;->b:Lcom/viatech/community/UserCenterActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/community/UserCenterActivity;->n(Lcom/viatech/community/UserCenterActivity;)Landroid/widget/TextView; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v1, p0, Lcom/viatech/community/UserCenterActivity$7;->b:Lcom/viatech/community/UserCenterActivity; |
|
|
|
const v2, 0x7f0701d3 |
|
|
|
invoke-virtual {v1, v2}, Lcom/viatech/community/UserCenterActivity;->getString(I)Ljava/lang/String; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V |
|
|
|
.line 462 |
|
iget-object v0, p0, Lcom/viatech/community/UserCenterActivity$7;->b:Lcom/viatech/community/UserCenterActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/community/UserCenterActivity;->n(Lcom/viatech/community/UserCenterActivity;)Landroid/widget/TextView; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v1, p0, Lcom/viatech/community/UserCenterActivity$7;->b:Lcom/viatech/community/UserCenterActivity; |
|
|
|
invoke-virtual {v1}, Lcom/viatech/community/UserCenterActivity;->getResources()Landroid/content/res/Resources; |
|
|
|
move-result-object v1 |
|
|
|
const v2, 0x7f020218 |
|
|
|
invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setBackground(Landroid/graphics/drawable/Drawable;)V |
|
|
|
.line 463 |
|
iget-object v0, p0, Lcom/viatech/community/UserCenterActivity$7;->b:Lcom/viatech/community/UserCenterActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/community/UserCenterActivity;->n(Lcom/viatech/community/UserCenterActivity;)Landroid/widget/TextView; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, v3, v3, v3, v3}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V |
|
|
|
.line 478 |
|
:goto_0 |
|
return-void |
|
|
|
.line 465 |
|
:cond_0 |
|
iget-object v0, p0, Lcom/viatech/community/UserCenterActivity$7;->b:Lcom/viatech/community/UserCenterActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/community/UserCenterActivity;->n(Lcom/viatech/community/UserCenterActivity;)Landroid/widget/TextView; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v1, p0, Lcom/viatech/community/UserCenterActivity$7;->b:Lcom/viatech/community/UserCenterActivity; |
|
|
|
const v2, 0x7f0701cf |
|
|
|
invoke-virtual {v1, v2}, Lcom/viatech/community/UserCenterActivity;->getString(I)Ljava/lang/String; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V |
|
|
|
.line 466 |
|
iget-object v0, p0, Lcom/viatech/community/UserCenterActivity$7;->b:Lcom/viatech/community/UserCenterActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/community/UserCenterActivity;->n(Lcom/viatech/community/UserCenterActivity;)Landroid/widget/TextView; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v1, p0, Lcom/viatech/community/UserCenterActivity$7;->b:Lcom/viatech/community/UserCenterActivity; |
|
|
|
invoke-virtual {v1}, Lcom/viatech/community/UserCenterActivity;->getResources()Landroid/content/res/Resources; |
|
|
|
move-result-object v1 |
|
|
|
const v2, 0x7f020217 |
|
|
|
invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setBackground(Landroid/graphics/drawable/Drawable;)V |
|
|
|
.line 467 |
|
iget-object v0, p0, Lcom/viatech/community/UserCenterActivity$7;->b:Lcom/viatech/community/UserCenterActivity; |
|
|
|
invoke-virtual {v0}, Lcom/viatech/community/UserCenterActivity;->getResources()Landroid/content/res/Resources; |
|
|
|
move-result-object v0 |
|
|
|
const v1, 0x7f02013e |
|
|
|
invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable; |
|
|
|
move-result-object v0 |
|
|
|
.line 468 |
|
invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->getMinimumWidth()I |
|
|
|
move-result v1 |
|
|
|
invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->getMinimumHeight()I |
|
|
|
move-result v2 |
|
|
|
invoke-virtual {v0, v4, v4, v1, v2}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V |
|
|
|
.line 469 |
|
iget-object v1, p0, Lcom/viatech/community/UserCenterActivity$7;->b:Lcom/viatech/community/UserCenterActivity; |
|
|
|
invoke-static {v1}, Lcom/viatech/community/UserCenterActivity;->n(Lcom/viatech/community/UserCenterActivity;)Landroid/widget/TextView; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v1, v0, v3, v3, v3}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V |
|
|
|
goto :goto_0 |
|
|
|
.line 472 |
|
:cond_1 |
|
iget-object v0, p0, Lcom/viatech/community/UserCenterActivity$7;->a:Lcom/via/vpaicloud/community/request/FollowReq; |
|
|
|
iget v0, v0, Lcom/via/vpaicloud/community/request/FollowReq;->type:I |
|
|
|
if-nez v0, :cond_2 |
|
|
|
.line 473 |
|
const v0, 0x7f0701dc |
|
|
|
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V |
|
|
|
goto :goto_0 |
|
|
|
.line 475 |
|
:cond_2 |
|
const v0, 0x7f0701d7 |
|
|
|
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V |
|
|
|
goto :goto_0 |
|
.end method
|
|
|