.class public Lcom/moji/mjappstore/activity/AppStoreDetailActivity;
.super Lcom/moji/mjappstore/BaseFragmentActivity;
.source "AppStoreDetailActivity.java"

# interfaces
.implements Landroid/text/TextWatcher;
.implements Landroid/view/View$OnClickListener;
.implements Landroid/widget/AbsListView$OnScrollListener;
.implements Lcom/moji/mjappstore/receiver/AppStorePackageReceiver$IPackageInfoAction;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/moji/mjappstore/activity/AppStoreDetailActivity$ViewHolder;,
        Lcom/moji/mjappstore/activity/AppStoreDetailActivity$HorizontalListViewAdapter;,
        Lcom/moji/mjappstore/activity/AppStoreDetailActivity$ListScrollBar;
    }
.end annotation


# static fields
.field public static final FIRSTTOKEN:Ljava/lang/String; = "0000-00-00"

.field private static final b:Ljava/lang/String; = "AppStoreDetailActivity"

.field public static instance:Lcom/moji/mjappstore/activity/AppStoreDetailActivity;


# instance fields
.field private A:Landroid/widget/TextView;

.field private B:Landroid/widget/ImageButton;

.field private C:Landroid/widget/RelativeLayout;

.field private D:Lcom/moji/imageview/RemoteImageView;

.field private E:Landroid/widget/TextView;

.field private F:Landroid/widget/FrameLayout;

.field private G:Landroid/widget/LinearLayout;

.field private H:Landroid/widget/LinearLayout;

.field private I:Lcom/moji/mjappstore/view/AppStoreHorizontalListView;

.field private J:Z

.field private K:I

.field private L:Z

.field private M:Z

.field private N:Landroid/view/LayoutInflater;

.field private O:Landroid/widget/LinearLayout;

.field private P:Landroid/widget/LinearLayout;

.field private Q:Landroid/widget/ImageView;

.field private R:Landroid/widget/RelativeLayout;

.field private S:Landroid/widget/ImageButton;

.field private T:Landroid/widget/RatingBar;

.field private U:Landroid/widget/ImageButton;

.field private V:Landroid/widget/TextView;

.field private W:Landroid/widget/RelativeLayout;

.field private X:Ljava/lang/String;

.field private Y:I

.field private Z:Lcom/moji/imageview/RemoteImageView;

.field protected a:Ljava/lang/String;

.field private aa:Landroid/widget/TextView;

.field private ab:Landroid/widget/Button;

.field private ac:Landroid/widget/TextView;

.field private ad:Lcom/moji/imageview/RemoteImageView;

.field private ae:Landroid/widget/TextView;

.field private af:Landroid/widget/TextView;

.field private ag:Landroid/widget/RelativeLayout;

.field private ah:Ljava/lang/String;

.field private ai:I

.field private aj:Ljava/lang/String;

.field private ak:Z

.field private c:Lcom/moji/emotion/EmotionFragment;

.field private i:Landroid/view/inputmethod/InputMethodManager;

.field private j:Z

.field private k:Z

.field private l:Ljava/lang/String;

.field private m:Lcom/moji/imageview/RemoteImageView;

.field public mListView:Landroid/widget/ListView;

.field private n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

.field private o:Landroid/widget/TextView;

.field private p:Landroid/widget/RatingBar;

.field private q:Landroid/widget/LinearLayout;

.field private r:Landroid/widget/Button;

.field private s:Landroid/widget/LinearLayout;

.field private t:Lcom/moji/mjappstore/engine/AppCommentListWrap$CommentsAdapter;

.field private u:Landroid/widget/EditText;

.field private v:Lcom/moji/mjappstore/engine/AppCommentListWrap;

.field private w:Landroid/widget/TextView;

.field private x:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Lcom/moji/http/appmoji001/data/CommentResult$CommentInfo;",
            ">;"
        }
    .end annotation
.end field

.field private y:I

.field private z:Landroid/widget/TextView;


# direct methods
.method static constructor <clinit>()V
    .locals 0

    return-void
.end method

.method public constructor <init>()V
    .locals 2

    .line 66
    invoke-direct {p0}, Lcom/moji/mjappstore/BaseFragmentActivity;-><init>()V

    const/4 v0, 0x0

    .line 77
    iput-boolean v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->j:Z

    .line 78
    iput-boolean v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->k:Z

    .line 105
    iput-boolean v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->J:Z

    const-string v1, "0000-00-00"

    .line 129
    iput-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->a:Ljava/lang/String;

    .line 135
    iput-boolean v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ak:Z

    return-void
.end method

.method private a(Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;)I
    .locals 2

    .line 443
    sget-object v0, Lcom/moji/mjappstore/engine/AppUtil;->a:Ljava/util/HashMap;

    invoke-virtual {p1}, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->getAppid()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 444
    sget-object v0, Lcom/moji/mjappstore/engine/AppUtil;->a:Ljava/util/HashMap;

    invoke-virtual {p1}, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->getAppid()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Ljava/lang/Integer;

    invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I

    move-result p1

    return p1

    .line 446
    :cond_0
    invoke-virtual {p1}, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->getSoftstate()I

    move-result p1

    return p1
.end method

.method static synthetic a(Lcom/moji/mjappstore/activity/AppStoreDetailActivity;I)I
    .locals 0

    .line 66
    iput p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->K:I

    return p1
.end method

.method static synthetic a(Lcom/moji/mjappstore/activity/AppStoreDetailActivity;)Landroid/widget/LinearLayout;
    .locals 0

    .line 66
    iget-object p0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->O:Landroid/widget/LinearLayout;

    return-object p0
.end method

.method static synthetic a(Lcom/moji/mjappstore/activity/AppStoreDetailActivity;Landroid/widget/RelativeLayout;)Landroid/widget/RelativeLayout;
    .locals 0

    .line 66
    iput-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->C:Landroid/widget/RelativeLayout;

    return-object p1
.end method

.method static synthetic a(Lcom/moji/mjappstore/activity/AppStoreDetailActivity;Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;)V
    .locals 0

    .line 66
    invoke-direct {p0, p1}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->c(Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;)V

    return-void
.end method

.method static synthetic a(Lcom/moji/mjappstore/activity/AppStoreDetailActivity;Ljava/util/List;)V
    .locals 0

    .line 66
    invoke-direct {p0, p1}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->a(Ljava/util/List;)V

    return-void
.end method

.method private a(Ljava/util/List;)V
    .locals 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;",
            ">;)V"
        }
    .end annotation

    .line 479
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 480
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :cond_0
    :goto_0
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    const/4 v2, 0x1

    if-eqz v1, :cond_2

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;

    .line 481
    invoke-virtual {v1}, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->getAppid()Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Lcom/moji/tool/Utils;->a(Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_1

    .line 483
    invoke-static {p0, v1}, Lcom/moji/mjappstore/engine/AppUtil;->a(Landroid/content/Context;Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;)I

    .line 485
    :cond_1
    invoke-direct {p0, v1}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->a(Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;)I

    move-result v3

    if-eq v3, v2, :cond_0

    .line 486
    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 489
    :cond_2
    invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z

    move-result p1

    const/4 v1, 0x0

    if-nez p1, :cond_4

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result p1

    if-nez p1, :cond_3

    goto :goto_1

    .line 492
    :cond_3
    iget-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ag:Landroid/widget/RelativeLayout;

    invoke-virtual {p1, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    goto :goto_2

    .line 490
    :cond_4
    :goto_1
    iget-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ag:Landroid/widget/RelativeLayout;

    const/16 v3, 0x8

    invoke-virtual {p1, v3}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    :goto_2
    const/4 p1, 0x0

    .line 494
    :goto_3
    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v3

    if-ge p1, v3, :cond_8

    if-nez p1, :cond_5

    .line 496
    iget-object v3, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->D:Lcom/moji/imageview/RemoteImageView;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;

    invoke-virtual {v4}, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->getIcon()Ljava/lang/String;

    move-result-object v4

    invoke-static {p0, v3, v4}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->loadImage(Landroid/content/Context;Landroid/widget/ImageView;Ljava/lang/String;)V

    .line 497
    iget-object v3, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->D:Lcom/moji/imageview/RemoteImageView;

    invoke-virtual {v3, v2}, Lcom/moji/imageview/RemoteImageView;->setBorder(Z)V

    .line 498
    iget-object v3, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->D:Lcom/moji/imageview/RemoteImageView;

    sget v4, Lcom/moji/mjappstore/R$drawable;->skin_icon_bg:I

    invoke-virtual {v3, v4}, Lcom/moji/imageview/RemoteImageView;->setBkgFrameResID(I)V

    .line 499
    iget-object v3, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->E:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;

    invoke-virtual {v4}, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->getName()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 500
    iget-object v3, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->D:Lcom/moji/imageview/RemoteImageView;

    invoke-virtual {v3, p0}, Lcom/moji/imageview/RemoteImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 501
    iget-object v3, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->D:Lcom/moji/imageview/RemoteImageView;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    invoke-virtual {v3, v4}, Lcom/moji/imageview/RemoteImageView;->setTag(Ljava/lang/Object;)V

    goto :goto_4

    :cond_5
    if-ne p1, v2, :cond_6

    .line 503
    iget-object v3, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->Z:Lcom/moji/imageview/RemoteImageView;

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;

    invoke-virtual {v4}, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->getIcon()Ljava/lang/String;

    move-result-object v4

    invoke-static {p0, v3, v4}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->loadImage(Landroid/content/Context;Landroid/widget/ImageView;Ljava/lang/String;)V

    .line 504
    iget-object v3, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->Z:Lcom/moji/imageview/RemoteImageView;

    invoke-virtual {v3, v2}, Lcom/moji/imageview/RemoteImageView;->setBorder(Z)V

    .line 505
    iget-object v3, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->Z:Lcom/moji/imageview/RemoteImageView;

    sget v4, Lcom/moji/mjappstore/R$drawable;->skin_icon_bg:I

    invoke-virtual {v3, v4}, Lcom/moji/imageview/RemoteImageView;->setBkgFrameResID(I)V

    .line 506
    iget-object v3, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->aa:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;

    invoke-virtual {v4}, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->getName()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 507
    iget-object v3, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->Z:Lcom/moji/imageview/RemoteImageView;

    invoke-virtual {v3, p0}, Lcom/moji/imageview/RemoteImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 508
    iget-object v3, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->Z:Lcom/moji/imageview/RemoteImageView;

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    invoke-virtual {v3, v4}, Lcom/moji/imageview/RemoteImageView;->setTag(Ljava/lang/Object;)V

    goto :goto_4

    :cond_6
    const/4 v3, 0x2

    if-ne p1, v3, :cond_7

    .line 510
    iget-object v4, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ad:Lcom/moji/imageview/RemoteImageView;

    invoke-virtual {v0, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;

    invoke-virtual {v5}, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->getIcon()Ljava/lang/String;

    move-result-object v5

    invoke-static {p0, v4, v5}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->loadImage(Landroid/content/Context;Landroid/widget/ImageView;Ljava/lang/String;)V

    .line 511
    iget-object v4, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ad:Lcom/moji/imageview/RemoteImageView;

    invoke-virtual {v4, v2}, Lcom/moji/imageview/RemoteImageView;->setBorder(Z)V

    .line 512
    iget-object v4, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ad:Lcom/moji/imageview/RemoteImageView;

    sget v5, Lcom/moji/mjappstore/R$drawable;->skin_icon_bg:I

    invoke-virtual {v4, v5}, Lcom/moji/imageview/RemoteImageView;->setBkgFrameResID(I)V

    .line 513
    iget-object v4, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ae:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;

    invoke-virtual {v5}, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->getName()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 514
    iget-object v4, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ad:Lcom/moji/imageview/RemoteImageView;

    invoke-virtual {v4, p0}, Lcom/moji/imageview/RemoteImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 515
    iget-object v4, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ad:Lcom/moji/imageview/RemoteImageView;

    invoke-virtual {v0, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v3

    invoke-virtual {v4, v3}, Lcom/moji/imageview/RemoteImageView;->setTag(Ljava/lang/Object;)V

    :cond_7
    :goto_4
    add-int/lit8 p1, p1, 0x1

    goto/16 :goto_3

    :cond_8
    return-void
.end method

.method static synthetic a(Lcom/moji/mjappstore/activity/AppStoreDetailActivity;Z)Z
    .locals 0

    .line 66
    iput-boolean p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->M:Z

    return p1
.end method

.method private b(Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;)I
    .locals 2

    .line 437
    sget-object v0, Lcom/moji/mjappstore/engine/AppUtil;->a:Ljava/util/HashMap;

    invoke-virtual {p1}, Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;->getAppid()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 438
    sget-object v0, Lcom/moji/mjappstore/engine/AppUtil;->a:Ljava/util/HashMap;

    invoke-virtual {p1}, Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;->getAppid()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Ljava/lang/Integer;

    invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I

    move-result p1

    return p1

    .line 440
    :cond_0
    invoke-virtual {p1}, Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;->getSoftstate()I

    move-result p1

    return p1
.end method

.method static synthetic b(Lcom/moji/mjappstore/activity/AppStoreDetailActivity;I)I
    .locals 0

    .line 66
    iput p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->y:I

    return p1
.end method

.method static synthetic b(Lcom/moji/mjappstore/activity/AppStoreDetailActivity;)Landroid/widget/LinearLayout;
    .locals 0

    .line 66
    iget-object p0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->P:Landroid/widget/LinearLayout;

    return-object p0
.end method

.method static synthetic b(Lcom/moji/mjappstore/activity/AppStoreDetailActivity;Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;)Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;
    .locals 0

    .line 66
    iput-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    return-object p1
.end method

.method static synthetic b(Lcom/moji/mjappstore/activity/AppStoreDetailActivity;Z)Z
    .locals 0

    .line 66
    iput-boolean p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->k:Z

    return p1
.end method

.method static synthetic c(Lcom/moji/mjappstore/activity/AppStoreDetailActivity;)Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;
    .locals 0

    .line 66
    iget-object p0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    return-object p0
.end method

.method private c(Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;)V
    .locals 4

    .line 449
    invoke-virtual {p1}, Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;->getIcon()Ljava/lang/String;

    move-result-object v0

    .line 450
    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->m:Lcom/moji/imageview/RemoteImageView;

    invoke-virtual {v1, v0}, Lcom/moji/imageview/RemoteImageView;->setTag(Ljava/lang/Object;)V

    .line 451
    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->m:Lcom/moji/imageview/RemoteImageView;

    invoke-static {p0, v1, v0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->loadImage(Landroid/content/Context;Landroid/widget/ImageView;Ljava/lang/String;)V

    .line 452
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->m:Lcom/moji/imageview/RemoteImageView;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/moji/imageview/RemoteImageView;->setBorder(Z)V

    .line 453
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->m:Lcom/moji/imageview/RemoteImageView;

    sget v1, Lcom/moji/mjappstore/R$drawable;->skin_icon_bg:I

    invoke-virtual {v0, v1}, Lcom/moji/imageview/RemoteImageView;->setBkgFrameResID(I)V

    .line 454
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->o:Landroid/widget/TextView;

    invoke-virtual {p1}, Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;->getName()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 455
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->p:Landroid/widget/RatingBar;

    invoke-virtual {p1}, Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;->getStars()F

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/RatingBar;->setRating(F)V

    .line 456
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->w:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, " ("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;->getCommentcount()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, "\u8bc4\u8bba)"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 457
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->af:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    sget v3, Lcom/moji/mjappstore/R$string;->appstore_detail_version:I

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;->getVersion()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 459
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ac:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    sget v3, Lcom/moji/mjappstore/R$string;->appstore_detail_size:I

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;->getSize()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, "M"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 460
    invoke-virtual {p0, p1}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->a(Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;)V

    .line 461
    new-instance v0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity$HorizontalListViewAdapter;

    invoke-direct {v0, p0, p1}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity$HorizontalListViewAdapter;-><init>(Lcom/moji/mjappstore/activity/AppStoreDetailActivity;Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;)V

    .line 462
    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->I:Lcom/moji/mjappstore/view/AppStoreHorizontalListView;

    invoke-virtual {v1, v0}, Lcom/moji/mjappstore/view/AppStoreHorizontalListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 464
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->z:Landroid/widget/TextView;

    invoke-virtual {p1}, Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;->getDescription()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method

.method static synthetic c(Lcom/moji/mjappstore/activity/AppStoreDetailActivity;Z)Z
    .locals 0

    .line 66
    iput-boolean p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->J:Z

    return p1
.end method

.method static synthetic d(Lcom/moji/mjappstore/activity/AppStoreDetailActivity;)Lcom/moji/mjappstore/engine/AppCommentListWrap;
    .locals 0

    .line 66
    iget-object p0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->v:Lcom/moji/mjappstore/engine/AppCommentListWrap;

    return-object p0
.end method

.method static synthetic d(Lcom/moji/mjappstore/activity/AppStoreDetailActivity;Z)Z
    .locals 0

    .line 66
    iput-boolean p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->L:Z

    return p1
.end method

.method static synthetic e(Lcom/moji/mjappstore/activity/AppStoreDetailActivity;)Landroid/view/LayoutInflater;
    .locals 0

    .line 66
    iget-object p0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->N:Landroid/view/LayoutInflater;

    return-object p0
.end method

.method static synthetic f(Lcom/moji/mjappstore/activity/AppStoreDetailActivity;)Landroid/widget/RelativeLayout;
    .locals 0

    .line 66
    iget-object p0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->C:Landroid/widget/RelativeLayout;

    return-object p0
.end method

.method static synthetic g(Lcom/moji/mjappstore/activity/AppStoreDetailActivity;)Landroid/widget/LinearLayout;
    .locals 0

    .line 66
    iget-object p0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->q:Landroid/widget/LinearLayout;

    return-object p0
.end method

.method static synthetic h(Lcom/moji/mjappstore/activity/AppStoreDetailActivity;)V
    .locals 0

    .line 66
    invoke-direct {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->x()V

    return-void
.end method

.method static synthetic i(Lcom/moji/mjappstore/activity/AppStoreDetailActivity;)Landroid/widget/LinearLayout;
    .locals 0

    .line 66
    iget-object p0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->G:Landroid/widget/LinearLayout;

    return-object p0
.end method

.method static synthetic j(Lcom/moji/mjappstore/activity/AppStoreDetailActivity;)Landroid/widget/LinearLayout;
    .locals 0

    .line 66
    iget-object p0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->H:Landroid/widget/LinearLayout;

    return-object p0
.end method

.method static synthetic k(Lcom/moji/mjappstore/activity/AppStoreDetailActivity;)Landroid/widget/RelativeLayout;
    .locals 0

    .line 66
    iget-object p0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ag:Landroid/widget/RelativeLayout;

    return-object p0
.end method

.method static synthetic l(Lcom/moji/mjappstore/activity/AppStoreDetailActivity;)I
    .locals 0

    .line 66
    iget p0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->y:I

    return p0
.end method

.method static synthetic m(Lcom/moji/mjappstore/activity/AppStoreDetailActivity;)Landroid/widget/TextView;
    .locals 0

    .line 66
    iget-object p0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->w:Landroid/widget/TextView;

    return-object p0
.end method

.method static synthetic n(Lcom/moji/mjappstore/activity/AppStoreDetailActivity;)Ljava/util/ArrayList;
    .locals 0

    .line 66
    iget-object p0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->x:Ljava/util/ArrayList;

    return-object p0
.end method

.method static synthetic o(Lcom/moji/mjappstore/activity/AppStoreDetailActivity;)Lcom/moji/mjappstore/engine/AppCommentListWrap$CommentsAdapter;
    .locals 0

    .line 66
    iget-object p0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->t:Lcom/moji/mjappstore/engine/AppCommentListWrap$CommentsAdapter;

    return-object p0
.end method

.method static synthetic o()Ljava/lang/String;
    .locals 1

    .line 66
    sget-object v0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->b:Ljava/lang/String;

    return-object v0
.end method

.method private p()V
    .locals 3

    .line 192
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->N:Landroid/view/LayoutInflater;

    sget v1, Lcom/moji/mjappstore/R$layout;->appstore_item_listview_head:I

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->G:Landroid/widget/LinearLayout;

    .line 193
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->G:Landroid/widget/LinearLayout;

    sget v1, Lcom/moji/mjappstore/R$id;->riv_appstore_title_icon:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/moji/imageview/RemoteImageView;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->m:Lcom/moji/imageview/RemoteImageView;

    .line 194
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->G:Landroid/widget/LinearLayout;

    sget v1, Lcom/moji/mjappstore/R$id;->appName:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->o:Landroid/widget/TextView;

    .line 195
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->G:Landroid/widget/LinearLayout;

    sget v1, Lcom/moji/mjappstore/R$id;->appRating:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RatingBar;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->p:Landroid/widget/RatingBar;

    .line 196
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->G:Landroid/widget/LinearLayout;

    sget v1, Lcom/moji/mjappstore/R$id;->appCommentsNum:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->w:Landroid/widget/TextView;

    .line 197
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->G:Landroid/widget/LinearLayout;

    sget v1, Lcom/moji/mjappstore/R$id;->app_detail_download:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->r:Landroid/widget/Button;

    .line 198
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->G:Landroid/widget/LinearLayout;

    sget v1, Lcom/moji/mjappstore/R$id;->image_hsv:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/moji/mjappstore/view/AppStoreHorizontalListView;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->I:Lcom/moji/mjappstore/view/AppStoreHorizontalListView;

    .line 199
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->G:Landroid/widget/LinearLayout;

    sget v1, Lcom/moji/mjappstore/R$id;->tv_version:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->af:Landroid/widget/TextView;

    .line 200
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->G:Landroid/widget/LinearLayout;

    sget v1, Lcom/moji/mjappstore/R$id;->tv_size:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ac:Landroid/widget/TextView;

    .line 201
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->G:Landroid/widget/LinearLayout;

    sget v1, Lcom/moji/mjappstore/R$id;->tv_down_num:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->A:Landroid/widget/TextView;

    .line 202
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->G:Landroid/widget/LinearLayout;

    sget v1, Lcom/moji/mjappstore/R$id;->riv_appstore_first_icon:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/moji/imageview/RemoteImageView;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->D:Lcom/moji/imageview/RemoteImageView;

    .line 203
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->G:Landroid/widget/LinearLayout;

    sget v1, Lcom/moji/mjappstore/R$id;->tv_appstore_first_name:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->E:Landroid/widget/TextView;

    .line 204
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->G:Landroid/widget/LinearLayout;

    sget v1, Lcom/moji/mjappstore/R$id;->riv_appstore_second_icon:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/moji/imageview/RemoteImageView;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->Z:Lcom/moji/imageview/RemoteImageView;

    .line 205
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->G:Landroid/widget/LinearLayout;

    sget v1, Lcom/moji/mjappstore/R$id;->tv_appstore_second_name:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->aa:Landroid/widget/TextView;

    .line 206
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->G:Landroid/widget/LinearLayout;

    sget v1, Lcom/moji/mjappstore/R$id;->riv_appstore_third_icon:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/moji/imageview/RemoteImageView;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ad:Lcom/moji/imageview/RemoteImageView;

    .line 207
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->G:Landroid/widget/LinearLayout;

    sget v1, Lcom/moji/mjappstore/R$id;->tv_appstore_third_name:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ae:Landroid/widget/TextView;

    .line 208
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->G:Landroid/widget/LinearLayout;

    sget v1, Lcom/moji/mjappstore/R$id;->tv_describe:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->z:Landroid/widget/TextView;

    .line 209
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->G:Landroid/widget/LinearLayout;

    sget v1, Lcom/moji/mjappstore/R$id;->appBaseInfoPart3:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ag:Landroid/widget/RelativeLayout;

    .line 210
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ag:Landroid/widget/RelativeLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    .line 211
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->G:Landroid/widget/LinearLayout;

    sget v1, Lcom/moji/mjappstore/R$id;->layout_load:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->H:Landroid/widget/LinearLayout;

    .line 212
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->H:Landroid/widget/LinearLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    return-void
.end method

.method private q()V
    .locals 3
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "InflateParams"
        }
    .end annotation

    .line 218
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->mListView:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->G:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->addHeaderView(Landroid/view/View;)V

    .line 219
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->N:Landroid/view/LayoutInflater;

    sget v1, Lcom/moji/mjappstore/R$layout;->skin_detail_blank_footerview:I

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->q:Landroid/widget/LinearLayout;

    .line 220
    new-instance v0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity$ListScrollBar;

    invoke-direct {v0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity$ListScrollBar;-><init>()V

    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->mListView:Landroid/widget/ListView;

    const/4 v2, 0x1

    invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity$ListScrollBar;->a(Landroid/widget/ListView;Ljava/lang/Boolean;)V

    .line 221
    new-instance v0, Lcom/moji/mjappstore/engine/AppCommentListWrap;

    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->mListView:Landroid/widget/ListView;

    invoke-direct {v0, v1, p0}, Lcom/moji/mjappstore/engine/AppCommentListWrap;-><init>(Landroid/widget/ListView;Landroid/app/Activity;)V

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->v:Lcom/moji/mjappstore/engine/AppCommentListWrap;

    .line 222
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->v:Lcom/moji/mjappstore/engine/AppCommentListWrap;

    invoke-virtual {v0}, Lcom/moji/mjappstore/engine/AppCommentListWrap;->a()Lcom/moji/mjappstore/engine/AppCommentListWrap$CommentsAdapter;

    move-result-object v0

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->t:Lcom/moji/mjappstore/engine/AppCommentListWrap$CommentsAdapter;

    .line 223
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->v:Lcom/moji/mjappstore/engine/AppCommentListWrap;

    invoke-virtual {v0}, Lcom/moji/mjappstore/engine/AppCommentListWrap;->b()Ljava/util/ArrayList;

    move-result-object v0

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->x:Ljava/util/ArrayList;

    return-void
.end method

.method private r()V
    .locals 3

    .line 226
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->mListView:Landroid/widget/ListView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 227
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->mListView:Landroid/widget/ListView;

    iget-object v2, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->G:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/ListView;->addHeaderView(Landroid/view/View;)V

    .line 228
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->N:Landroid/view/LayoutInflater;

    sget v2, Lcom/moji/mjappstore/R$layout;->skin_detail_blank_footerview:I

    invoke-virtual {v0, v2, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->q:Landroid/widget/LinearLayout;

    .line 229
    new-instance v0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity$ListScrollBar;

    invoke-direct {v0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity$ListScrollBar;-><init>()V

    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->mListView:Landroid/widget/ListView;

    const/4 v2, 0x1

    invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity$ListScrollBar;->a(Landroid/widget/ListView;Ljava/lang/Boolean;)V

    .line 230
    new-instance v0, Lcom/moji/mjappstore/engine/AppCommentListWrap;

    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->mListView:Landroid/widget/ListView;

    invoke-direct {v0, v1, p0}, Lcom/moji/mjappstore/engine/AppCommentListWrap;-><init>(Landroid/widget/ListView;Landroid/app/Activity;)V

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->v:Lcom/moji/mjappstore/engine/AppCommentListWrap;

    .line 231
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->v:Lcom/moji/mjappstore/engine/AppCommentListWrap;

    invoke-virtual {v0}, Lcom/moji/mjappstore/engine/AppCommentListWrap;->a()Lcom/moji/mjappstore/engine/AppCommentListWrap$CommentsAdapter;

    move-result-object v0

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->t:Lcom/moji/mjappstore/engine/AppCommentListWrap$CommentsAdapter;

    .line 232
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->v:Lcom/moji/mjappstore/engine/AppCommentListWrap;

    invoke-virtual {v0}, Lcom/moji/mjappstore/engine/AppCommentListWrap;->b()Ljava/util/ArrayList;

    move-result-object v0

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->x:Ljava/util/ArrayList;

    return-void
.end method

.method private s()V
    .locals 3

    const/4 v0, 0x1

    .line 269
    iput-boolean v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->M:Z

    .line 270
    new-instance v0, Lcom/moji/http/appmoji001/GetDetailRequest;

    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->l:Ljava/lang/String;

    invoke-static {}, Lcom/moji/areamanagement/MJAreaManager;->g()I

    move-result v2

    invoke-direct {v0, v1, v2}, Lcom/moji/http/appmoji001/GetDetailRequest;-><init>(Ljava/lang/String;I)V

    new-instance v1, Lcom/moji/mjappstore/activity/AppStoreDetailActivity$1;

    invoke-direct {v1, p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity$1;-><init>(Lcom/moji/mjappstore/activity/AppStoreDetailActivity;)V

    invoke-virtual {v0, v1}, Lcom/moji/http/appmoji001/GetDetailRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V

    return-void
.end method

.method private t()V
    .locals 3

    const/4 v0, 0x0

    .line 308
    iput-boolean v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->k:Z

    .line 309
    new-instance v0, Lcom/moji/http/appmoji001/GetRelativeAppRequest;

    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->l:Ljava/lang/String;

    invoke-static {}, Lcom/moji/areamanagement/MJAreaManager;->g()I

    move-result v2

    invoke-direct {v0, v1, v2}, Lcom/moji/http/appmoji001/GetRelativeAppRequest;-><init>(Ljava/lang/String;I)V

    new-instance v1, Lcom/moji/mjappstore/activity/AppStoreDetailActivity$2;

    invoke-direct {v1, p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity$2;-><init>(Lcom/moji/mjappstore/activity/AppStoreDetailActivity;)V

    invoke-virtual {v0, v1}, Lcom/moji/http/appmoji001/GetRelativeAppRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V

    return-void
.end method

.method private u()V
    .locals 5

    const/4 v0, 0x1

    .line 331
    iput-boolean v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->L:Z

    .line 332
    new-instance v0, Lcom/moji/http/appmoji001/GetCommentRequest;

    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->l:Ljava/lang/String;

    const-string v2, "10"

    iget-object v3, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->a:Ljava/lang/String;

    invoke-static {}, Lcom/moji/areamanagement/MJAreaManager;->g()I

    move-result v4

    invoke-direct {v0, v1, v2, v3, v4}, Lcom/moji/http/appmoji001/GetCommentRequest;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V

    new-instance v1, Lcom/moji/mjappstore/activity/AppStoreDetailActivity$3;

    invoke-direct {v1, p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity$3;-><init>(Lcom/moji/mjappstore/activity/AppStoreDetailActivity;)V

    invoke-virtual {v0, v1}, Lcom/moji/http/appmoji001/GetCommentRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V

    return-void
.end method

.method private v()V
    .locals 7

    .line 381
    new-instance v6, Lcom/moji/http/appmoji001/SendCommentRequest;

    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->l:Ljava/lang/String;

    iget-object v2, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->X:Ljava/lang/String;

    iget v3, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->Y:I

    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    invoke-virtual {v0}, Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;->getVersion()Ljava/lang/String;

    move-result-object v4

    invoke-static {}, Lcom/moji/areamanagement/MJAreaManager;->g()I

    move-result v5

    move-object v0, v6

    invoke-direct/range {v0 .. v5}, Lcom/moji/http/appmoji001/SendCommentRequest;-><init>(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;I)V

    new-instance v0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity$4;

    invoke-direct {v0, p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity$4;-><init>(Lcom/moji/mjappstore/activity/AppStoreDetailActivity;)V

    invoke-virtual {v6, v0}, Lcom/moji/http/appmoji001/SendCommentRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V

    return-void
.end method

.method private w()V
    .locals 13

    .line 395
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    if-nez v0, :cond_0

    return-void

    .line 398
    :cond_0
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    invoke-virtual {v0}, Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;->getSoftstate()I

    move-result v0

    const/4 v1, 0x2

    if-ne v0, v1, :cond_1

    .line 400
    sget-object v0, Lcom/moji/mjappstore/engine/AppUtil;->a:Ljava/util/HashMap;

    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    invoke-virtual {v1}, Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;->getAppid()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_5

    .line 403
    invoke-static {}, Lcom/moji/tool/AppDelegate;->a()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/moji/mjappstore/engine/Downloader;->a(Landroid/content/Context;)Lcom/moji/mjappstore/engine/Downloader;

    move-result-object v1

    const/4 v2, 0x1

    const/4 v3, 0x0

    const/4 v4, 0x1

    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    .line 404
    invoke-virtual {v0}, Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;->getLinkurl()Ljava/lang/String;

    move-result-object v5

    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    .line 405
    invoke-virtual {v0}, Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;->getPkgname()Ljava/lang/String;

    move-result-object v6

    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    invoke-virtual {v0}, Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;->getAppid()Ljava/lang/String;

    move-result-object v7

    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    .line 406
    invoke-virtual {v0}, Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;->getName()Ljava/lang/String;

    move-result-object v8

    iget v9, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ai:I

    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    .line 407
    invoke-virtual {v0}, Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;->getVersioncode()I

    move-result v10

    iget-object v11, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->aj:Ljava/lang/String;

    const/4 v12, 0x2

    .line 403
    invoke-virtual/range {v1 .. v12}, Lcom/moji/mjappstore/engine/Downloader;->a(ZIILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IILjava/lang/String;I)V

    goto/16 :goto_0

    :cond_1
    const/4 v1, 0x1

    if-ne v0, v1, :cond_2

    .line 410
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    invoke-virtual {v0}, Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;->getPkgname()Ljava/lang/String;

    move-result-object v0

    .line 411
    invoke-static {v0}, Lcom/moji/tool/Utils;->a(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_5

    .line 412
    invoke-static {p0, v0}, Lcom/moji/mjappstore/engine/AppUtil;->c(Landroid/content/Context;Ljava/lang/String;)Z

    goto/16 :goto_0

    :cond_2
    const/4 v1, 0x3

    if-ne v0, v1, :cond_3

    .line 415
    sget-object v0, Lcom/moji/mjappstore/engine/AppUtil;->a:Ljava/util/HashMap;

    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    invoke-virtual {v1}, Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;->getAppid()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_5

    .line 417
    invoke-static {}, Lcom/moji/tool/AppDelegate;->a()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/moji/mjappstore/engine/Downloader;->a(Landroid/content/Context;)Lcom/moji/mjappstore/engine/Downloader;

    move-result-object v1

    const/4 v2, 0x1

    const/4 v3, 0x0

    const/4 v4, 0x1

    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    .line 418
    invoke-virtual {v0}, Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;->getLinkurl()Ljava/lang/String;

    move-result-object v5

    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    .line 419
    invoke-virtual {v0}, Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;->getPkgname()Ljava/lang/String;

    move-result-object v6

    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    invoke-virtual {v0}, Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;->getAppid()Ljava/lang/String;

    move-result-object v7

    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    .line 420
    invoke-virtual {v0}, Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;->getName()Ljava/lang/String;

    move-result-object v8

    iget v9, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ai:I

    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    .line 421
    invoke-virtual {v0}, Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;->getVersioncode()I

    move-result v10

    iget-object v11, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->aj:Ljava/lang/String;

    const/4 v12, 0x2

    .line 417
    invoke-virtual/range {v1 .. v12}, Lcom/moji/mjappstore/engine/Downloader;->a(ZIILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IILjava/lang/String;I)V

    goto :goto_0

    :cond_3
    const/4 v1, 0x4

    if-ne v0, v1, :cond_4

    .line 424
    sget v0, Lcom/moji/mjappstore/R$string;->rc_downloading:I

    invoke-static {v0}, Lcom/moji/tool/ToastTool;->a(I)V

    goto :goto_0

    :cond_4
    const/4 v1, 0x5

    if-ne v0, v1, :cond_5

    .line 426
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    invoke-virtual {v1}, Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;->getPkgname()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    invoke-virtual {v1}, Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;->getAppid()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, ".apk"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_5

    .line 427
    invoke-static {p0, v0}, Lcom/moji/mjappstore/engine/AppUtil;->a(Landroid/content/Context;Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_5

    .line 428
    new-instance v1, Landroid/content/Intent;

    const-string v2, "android.intent.action.VIEW"

    invoke-direct {v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    const/high16 v2, 0x10000000

    .line 429
    invoke-virtual {v1, v2}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

    .line 430
    invoke-static {v1, v0}, Lcom/moji/tool/FileTool;->a(Landroid/content/Intent;Ljava/lang/String;)V

    .line 432
    invoke-virtual {p0, v1}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->startActivity(Landroid/content/Intent;)V

    :cond_5
    :goto_0
    return-void
.end method

.method private x()V
    .locals 2

    .line 469
    invoke-static {}, Lcom/moji/mjappstore/engine/AppUtil;->b()Z

    move-result v0

    if-eqz v0, :cond_1

    iget v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->K:I

    const/4 v1, 0x1

    if-eq v0, v1, :cond_0

    iget v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->K:I

    const/4 v1, 0x3

    if-ne v0, v1, :cond_1

    .line 470
    :cond_0
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->R:Landroid/widget/RelativeLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    .line 471
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->u:Landroid/widget/EditText;

    const-string v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V

    goto :goto_0

    .line 473
    :cond_1
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->R:Landroid/widget/RelativeLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    .line 474
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->u:Landroid/widget/EditText;

    sget v1, Lcom/moji/mjappstore/R$string;->skin_prompt_not_comment:I

    invoke-virtual {p0, v1}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V

    :goto_0
    return-void
.end method

.method private y()V
    .locals 2

    .line 578
    invoke-direct {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->r()V

    .line 579
    invoke-direct {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->s()V

    .line 580
    invoke-direct {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->t()V

    const-string v0, "chao"

    const-string v1, "refreshALl"

    .line 581
    invoke-static {v0, v1}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 582
    invoke-direct {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->u()V

    return-void
.end method


# virtual methods
.method protected a()V
    .locals 3

    .line 180
    invoke-virtual {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v1, "appid"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->l:Ljava/lang/String;

    .line 181
    invoke-virtual {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v1, "appName"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ah:Ljava/lang/String;

    .line 182
    invoke-virtual {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v1, "downLoadCategory"

    const/4 v2, -0x1

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v0

    iput v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ai:I

    .line 183
    invoke-virtual {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v1, "fromAppId"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->aj:Ljava/lang/String;

    return-void
.end method

.method protected a(Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;)V
    .locals 4

    .line 781
    invoke-virtual {p1}, Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;->getDownload()Ljava/lang/String;

    move-result-object p1

    if-eqz p1, :cond_1

    .line 786
    :try_start_0
    invoke-static {p1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v0

    const/16 v1, 0x2710

    if-lt v0, v1, :cond_0

    .line 788
    div-int/2addr v0, v1

    int-to-float p1, v0

    .line 791
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->A:Landroid/widget/TextView;

    if-eqz v0, :cond_1

    .line 792
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->A:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    sget v3, Lcom/moji/mjappstore/R$string;->skin_download_num:I

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;

    const-string p1, "\u4e07"

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    .line 795
    :cond_0
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->A:Landroid/widget/TextView;

    if-eqz v0, :cond_1

    .line 796
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->A:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    sget v3, Lcom/moji/mjappstore/R$string;->skin_download_num:I

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string p1, "\u6b21"

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    :catch_0
    move-exception p1

    goto :goto_1

    .line 801
    :cond_1
    :goto_0
    iget-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->A:Landroid/widget/TextView;

    if-eqz p1, :cond_2

    .line 802
    iget-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->A:Landroid/widget/TextView;

    const/4 v0, 0x0

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setVisibility(I)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_2

    .line 805
    :goto_1
    sget-object v0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->b:Ljava/lang/String;

    invoke-virtual {p1}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;

    move-result-object p1

    invoke-static {v0, p1}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    :cond_2
    :goto_2
    return-void
.end method

.method public afterTextChanged(Landroid/text/Editable;)V
    .locals 0

    return-void
.end method

.method protected b()V
    .locals 2

    .line 153
    sget v0, Lcom/moji/mjappstore/R$layout;->appstore_detail_layout:I

    invoke-virtual {p0, v0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->setContentView(I)V

    .line 154
    invoke-static {}, Lcom/moji/tool/DeviceTool;->C()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 155
    sget-object v0, Landroid/os/Build$VERSION;->RELEASE:Ljava/lang/String;

    const-string v1, "4.4.4"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-static {p0}, Lcom/moji/mjappstore/engine/AppUtil;->a(Landroid/app/Activity;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 156
    invoke-virtual {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->getWindow()Landroid/view/Window;

    move-result-object v0

    const/16 v1, 0x20

    invoke-virtual {v0, v1}, Landroid/view/Window;->setSoftInputMode(I)V

    goto :goto_0

    .line 158
    :cond_0
    new-instance v0, Lcom/moji/mjweather/library/AndroidBug5497Workaround;

    invoke-direct {v0, p0}, Lcom/moji/mjweather/library/AndroidBug5497Workaround;-><init>(Landroid/app/Activity;)V

    :cond_1
    :goto_0
    return-void
.end method

.method protected b(I)V
    .locals 2

    if-eqz p1, :cond_3

    const/4 v0, 0x5

    if-eq p1, v0, :cond_2

    const/16 v0, 0x1e

    if-eq p1, v0, :cond_1

    const/16 v0, 0x28

    if-eq p1, v0, :cond_0

    packed-switch p1, :pswitch_data_0

    .line 867
    sget p1, Lcom/moji/mjappstore/R$string;->toast_send_comment_fail:I

    invoke-virtual {p0, p1}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object p1

    goto :goto_0

    .line 855
    :pswitch_0
    sget p1, Lcom/moji/mjappstore/R$string;->valid_toast_no_app:I

    invoke-static {p1}, Lcom/moji/mjappstore/engine/AppUtil;->a(I)Ljava/lang/String;

    move-result-object p1

    goto :goto_0

    .line 852
    :pswitch_1
    sget p1, Lcom/moji/mjappstore/R$string;->valid_toast_recomment:I

    invoke-static {p1}, Lcom/moji/mjappstore/engine/AppUtil;->a(I)Ljava/lang/String;

    move-result-object p1

    goto :goto_0

    .line 864
    :cond_0
    sget p1, Lcom/moji/mjappstore/R$string;->valid_toast_user_forbid:I

    invoke-static {p1}, Lcom/moji/mjappstore/engine/AppUtil;->a(I)Ljava/lang/String;

    move-result-object p1

    goto :goto_0

    .line 861
    :cond_1
    sget p1, Lcom/moji/mjappstore/R$string;->valid_toast_user_closed:I

    invoke-static {p1}, Lcom/moji/mjappstore/engine/AppUtil;->a(I)Ljava/lang/String;

    move-result-object p1

    goto :goto_0

    .line 858
    :cond_2
    sget p1, Lcom/moji/mjappstore/R$string;->appstore_detail_rating_tips:I

    invoke-static {p1}, Lcom/moji/mjappstore/engine/AppUtil;->a(I)Ljava/lang/String;

    move-result-object p1

    goto :goto_0

    .line 843
    :cond_3
    sget p1, Lcom/moji/mjappstore/R$string;->toast_send_comment_ok:I

    invoke-static {p1}, Lcom/moji/mjappstore/engine/AppUtil;->a(I)Ljava/lang/String;

    move-result-object p1

    .line 844
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->R:Landroid/widget/RelativeLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    .line 845
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->u:Landroid/widget/EditText;

    const-string v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    const-string v0, "0000-00-00"

    .line 846
    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->a:Ljava/lang/String;

    const/4 v0, 0x0

    .line 847
    iput-boolean v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->J:Z

    const-string v0, "chao"

    const-string v1, "setValid"

    .line 848
    invoke-static {v0, v1}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 849
    invoke-direct {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->u()V

    .line 871
    :goto_0
    invoke-static {p1}, Lcom/moji/tool/ToastTool;->a(Ljava/lang/String;)V

    return-void

    nop

    :pswitch_data_0
    .packed-switch 0x2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method public beforeTextChanged(Ljava/lang/CharSequence;III)V
    .locals 0

    return-void
.end method

.method protected c()V
    .locals 3

    const-string v0, "layout_inflater"

    .line 237
    invoke-virtual {p0, v0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/LayoutInflater;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->N:Landroid/view/LayoutInflater;

    .line 238
    sget v0, Lcom/moji/mjappstore/R$id;->buttomLayout:I

    invoke-virtual {p0, v0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->s:Landroid/widget/LinearLayout;

    .line 239
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->s:Landroid/widget/LinearLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 240
    sget v0, Lcom/moji/mjappstore/R$id;->replyBar:I

    invoke-virtual {p0, v0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->W:Landroid/widget/RelativeLayout;

    .line 241
    sget v0, Lcom/moji/mjappstore/R$id;->tv_reply_text:I

    invoke-virtual {p0, v0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->V:Landroid/widget/TextView;

    .line 242
    sget v0, Lcom/moji/mjappstore/R$id;->btn_reply_cancle:I

    invoke-virtual {p0, v0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->U:Landroid/widget/ImageButton;

    .line 243
    sget v0, Lcom/moji/mjappstore/R$id;->ratingBar:I

    invoke-virtual {p0, v0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->R:Landroid/widget/RelativeLayout;

    .line 244
    sget v0, Lcom/moji/mjappstore/R$id;->appstore_icomment_ratingBar:I

    invoke-virtual {p0, v0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RatingBar;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->T:Landroid/widget/RatingBar;

    .line 245
    sget v0, Lcom/moji/mjappstore/R$id;->btn_rating_cancle:I

    invoke-virtual {p0, v0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->S:Landroid/widget/ImageButton;

    .line 246
    sget v0, Lcom/moji/mjappstore/R$id;->emoticonBtn:I

    invoke-virtual {p0, v0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->B:Landroid/widget/ImageButton;

    .line 247
    sget v0, Lcom/moji/mjappstore/R$id;->appstore_detail_edit_comment:I

    invoke-virtual {p0, v0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->u:Landroid/widget/EditText;

    .line 248
    sget v0, Lcom/moji/mjappstore/R$id;->appstore_detail_send_comment_btn:I

    invoke-virtual {p0, v0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ab:Landroid/widget/Button;

    .line 249
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ab:Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setClickable(Z)V

    .line 250
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ab:Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    .line 251
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ab:Landroid/widget/Button;

    sget v2, Lcom/moji/mjappstore/R$drawable;->liveview_comment_gray_btn:I

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setBackgroundResource(I)V

    .line 252
    sget v0, Lcom/moji/mjappstore/R$id;->fl_loginbtn:I

    invoke-virtual {p0, v0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->F:Landroid/widget/FrameLayout;

    .line 253
    sget v0, Lcom/moji/mjappstore/R$id;->appstore_detail_loginbtn:I

    invoke-virtual {p0, v0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->Q:Landroid/widget/ImageView;

    .line 254
    invoke-virtual {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->getSupportFragmentManager()Landroid/support/v4/app/FragmentManager;

    move-result-object v0

    sget v2, Lcom/moji/mjappstore/R$id;->emoticonFragment:I

    invoke-virtual {v0, v2}, Landroid/support/v4/app/FragmentManager;->findFragmentById(I)Landroid/support/v4/app/Fragment;

    move-result-object v0

    check-cast v0, Lcom/moji/emotion/EmotionFragment;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->c:Lcom/moji/emotion/EmotionFragment;

    .line 255
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->c:Lcom/moji/emotion/EmotionFragment;

    if-eqz v0, :cond_0

    .line 256
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->c:Lcom/moji/emotion/EmotionFragment;

    iget-object v2, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->u:Landroid/widget/EditText;

    invoke-virtual {v0, v2}, Lcom/moji/emotion/EmotionFragment;->a(Landroid/widget/EditText;)V

    .line 258
    :cond_0
    sget v0, Lcom/moji/mjappstore/R$id;->layout_load:I

    invoke-virtual {p0, v0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->O:Landroid/widget/LinearLayout;

    .line 259
    sget v0, Lcom/moji/mjappstore/R$id;->layout_appstore_refresh:I

    invoke-virtual {p0, v0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->P:Landroid/widget/LinearLayout;

    .line 260
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->O:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 261
    sget v0, Lcom/moji/mjappstore/R$id;->app_listview:I

    invoke-virtual {p0, v0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->mListView:Landroid/widget/ListView;

    .line 262
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->mListView:Landroid/widget/ListView;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setDividerHeight(I)V

    .line 263
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->mListView:Landroid/widget/ListView;

    const/4 v1, -0x1

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setBackgroundColor(I)V

    .line 264
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->mListView:Landroid/widget/ListView;

    sget v1, Lcom/moji/mjappstore/R$color;->transparent:I

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setSelector(I)V

    .line 265
    invoke-direct {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->p()V

    .line 266
    invoke-direct {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->q()V

    return-void
.end method

.method protected d()V
    .locals 1

    .line 166
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->mListView:Landroid/widget/ListView;

    invoke-virtual {v0, p0}, Landroid/widget/ListView;->setOnScrollListener(Landroid/widget/AbsListView$OnScrollListener;)V

    .line 167
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ab:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 168
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->r:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 169
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->u:Landroid/widget/EditText;

    invoke-virtual {v0, p0}, Landroid/widget/EditText;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 170
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->u:Landroid/widget/EditText;

    invoke-virtual {v0, p0}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V

    .line 171
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->B:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 172
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->Q:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 173
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->U:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 174
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->S:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 175
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->P:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method protected e()V
    .locals 0

    return-void
.end method

.method protected j()V
    .locals 4

    .line 522
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->q:Landroid/widget/LinearLayout;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->R:Landroid/widget/RelativeLayout;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->W:Landroid/widget/RelativeLayout;

    if-eqz v0, :cond_2

    .line 523
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->q:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    .line 524
    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->R:Landroid/widget/RelativeLayout;

    invoke-virtual {v1}, Landroid/widget/RelativeLayout;->getVisibility()I

    move-result v1

    const/high16 v2, 0x42340000    # 45.0f

    if-eqz v1, :cond_1

    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->W:Landroid/widget/RelativeLayout;

    invoke-virtual {v1}, Landroid/widget/RelativeLayout;->getVisibility()I

    move-result v1

    if-nez v1, :cond_0

    goto :goto_0

    :cond_0
    if-eqz v0, :cond_2

    .line 533
    iget v1, v0, Landroid/view/ViewGroup$LayoutParams;->height:I

    int-to-float v1, v1

    invoke-virtual {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    invoke-virtual {v3}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v3

    iget v3, v3, Landroid/util/DisplayMetrics;->density:F

    mul-float v3, v3, v2

    cmpl-float v1, v1, v3

    if-eqz v1, :cond_2

    .line 534
    invoke-virtual {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    invoke-virtual {v1}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v1

    iget v1, v1, Landroid/util/DisplayMetrics;->density:F

    mul-float v1, v1, v2

    float-to-int v1, v1

    iput v1, v0, Landroid/view/ViewGroup$LayoutParams;->height:I

    .line 535
    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->q:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v0}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 536
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->t:Lcom/moji/mjappstore/engine/AppCommentListWrap$CommentsAdapter;

    if-eqz v0, :cond_2

    .line 537
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->t:Lcom/moji/mjappstore/engine/AppCommentListWrap$CommentsAdapter;

    invoke-virtual {v0}, Lcom/moji/mjappstore/engine/AppCommentListWrap$CommentsAdapter;->notifyDataSetChanged()V

    goto :goto_1

    :cond_1
    :goto_0
    if-eqz v0, :cond_2

    .line 525
    iget v1, v0, Landroid/view/ViewGroup$LayoutParams;->height:I

    int-to-float v1, v1

    invoke-virtual {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    invoke-virtual {v3}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v3

    iget v3, v3, Landroid/util/DisplayMetrics;->density:F

    mul-float v3, v3, v2

    cmpl-float v1, v1, v3

    if-eqz v1, :cond_2

    .line 526
    invoke-virtual {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    invoke-virtual {v1}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v1

    iget v1, v1, Landroid/util/DisplayMetrics;->density:F

    const/high16 v2, 0x42960000    # 75.0f

    mul-float v1, v1, v2

    float-to-int v1, v1

    iput v1, v0, Landroid/view/ViewGroup$LayoutParams;->height:I

    .line 527
    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->q:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v0}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 528
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->t:Lcom/moji/mjappstore/engine/AppCommentListWrap$CommentsAdapter;

    if-eqz v0, :cond_2

    .line 529
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->t:Lcom/moji/mjappstore/engine/AppCommentListWrap$CommentsAdapter;

    invoke-virtual {v0}, Lcom/moji/mjappstore/engine/AppCommentListWrap$CommentsAdapter;->notifyDataSetChanged()V

    :cond_2
    :goto_1
    return-void
.end method

.method protected k()V
    .locals 3

    .line 546
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->u:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    .line 547
    invoke-static {v0}, Lcom/moji/mjappstore/engine/AppUtil;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 549
    invoke-static {v0}, Lcom/moji/tool/Utils;->a(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 550
    sget v0, Lcom/moji/mjappstore/R$string;->skin_prompt_no_comment_content:I

    invoke-static {v0}, Lcom/moji/tool/ToastTool;->a(I)V

    return-void

    .line 552
    :cond_0
    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->u:Landroid/widget/EditText;

    invoke-virtual {v1}, Landroid/widget/EditText;->length()I

    move-result v1

    const/16 v2, 0x64

    if-le v1, v2, :cond_1

    .line 553
    sget-object v0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->b:Ljava/lang/String;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "\u8bc4\u8bba\u5b57\u6570: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->u:Landroid/widget/EditText;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    const-string v2, "\u8d85\u8fc7\u4e86100\u5b57\u7b26\u9650\u5236"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 554
    invoke-virtual {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    sget v1, Lcom/moji/mjappstore/R$string;->skin_prompt_commentStr_limit:I

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/moji/tool/ToastTool;->a(Ljava/lang/String;)V

    return-void

    .line 558
    :cond_1
    invoke-static {}, Lcom/moji/tool/DeviceTool;->m()Z

    move-result v1

    if-eqz v1, :cond_2

    .line 559
    iput-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->X:Ljava/lang/String;

    .line 561
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->T:Landroid/widget/RatingBar;

    invoke-virtual {v0}, Landroid/widget/RatingBar;->getRating()F

    move-result v0

    float-to-int v0, v0

    .line 562
    iput v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->Y:I

    .line 567
    sget-object v0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->b:Ljava/lang/String;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "mSaveRating:"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget v2, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->Y:I

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 568
    invoke-direct {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->v()V

    goto :goto_0

    .line 570
    :cond_2
    sget v0, Lcom/moji/mjappstore/R$string;->network_exception:I

    invoke-static {v0}, Lcom/moji/tool/ToastTool;->a(I)V

    :goto_0
    return-void
.end method

.method protected l()V
    .locals 1

    .line 575
    invoke-static {}, Lcom/moji/account/data/AccountProvider;->a()Lcom/moji/account/data/AccountProvider;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/moji/account/data/AccountProvider;->b(Landroid/content/Context;)V

    return-void
.end method

.method protected m()V
    .locals 3

    .line 749
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    invoke-direct {p0, v0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->b(Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;)I

    move-result v0

    const/4 v1, 0x1

    const/4 v2, 0x5

    if-ne v0, v2, :cond_0

    .line 751
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->r:Landroid/widget/Button;

    sget v2, Lcom/moji/mjappstore/R$string;->install:I

    invoke-static {v2}, Lcom/moji/mjappstore/engine/AppUtil;->a(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    .line 752
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->r:Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setClickable(Z)V

    .line 753
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->r:Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    .line 754
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->r:Landroid/widget/Button;

    sget v1, Lcom/moji/mjappstore/R$drawable;->common_btn_blue_selector:I

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setBackgroundResource(I)V

    goto/16 :goto_0

    :cond_0
    const/4 v2, 0x4

    if-ne v0, v2, :cond_1

    .line 756
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->r:Landroid/widget/Button;

    sget v1, Lcom/moji/mjappstore/R$string;->app_downloading:I

    invoke-static {v1}, Lcom/moji/mjappstore/engine/AppUtil;->a(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    .line 757
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->r:Landroid/widget/Button;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setClickable(Z)V

    .line 758
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->r:Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    .line 759
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->r:Landroid/widget/Button;

    sget v1, Lcom/moji/mjappstore/R$drawable;->common_btn_gray:I

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setBackgroundResource(I)V

    goto :goto_0

    :cond_1
    const/4 v2, 0x3

    if-ne v0, v2, :cond_2

    .line 761
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->r:Landroid/widget/Button;

    sget v2, Lcom/moji/mjappstore/R$string;->update:I

    invoke-static {v2}, Lcom/moji/mjappstore/engine/AppUtil;->a(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    .line 762
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->r:Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setClickable(Z)V

    .line 763
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->r:Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    .line 764
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->r:Landroid/widget/Button;

    sget v1, Lcom/moji/mjappstore/R$drawable;->common_btn_red_selector:I

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setBackgroundResource(I)V

    goto :goto_0

    :cond_2
    if-ne v0, v1, :cond_3

    .line 766
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->r:Landroid/widget/Button;

    sget v2, Lcom/moji/mjappstore/R$string;->open:I

    invoke-static {v2}, Lcom/moji/mjappstore/engine/AppUtil;->a(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    .line 767
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->r:Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setClickable(Z)V

    .line 768
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->r:Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    .line 769
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->r:Landroid/widget/Button;

    sget v1, Lcom/moji/mjappstore/R$drawable;->common_btn_blue_selector:I

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setBackgroundResource(I)V

    goto :goto_0

    :cond_3
    const/4 v2, 0x2

    if-ne v0, v2, :cond_4

    .line 771
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->r:Landroid/widget/Button;

    sget v2, Lcom/moji/mjappstore/R$string;->download:I

    invoke-static {v2}, Lcom/moji/mjappstore/engine/AppUtil;->a(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    .line 772
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->r:Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setClickable(Z)V

    .line 773
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->r:Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    .line 774
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->r:Landroid/widget/Button;

    sget v1, Lcom/moji/mjappstore/R$drawable;->common_btn_green_selector:I

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setBackgroundResource(I)V

    :cond_4
    :goto_0
    return-void
.end method

.method protected n()V
    .locals 3

    .line 811
    invoke-static {}, Lcom/moji/mjappstore/engine/AppUtil;->b()Z

    move-result v0

    const/16 v1, 0x8

    const/4 v2, 0x0

    if-eqz v0, :cond_0

    .line 812
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->B:Landroid/widget/ImageButton;

    invoke-virtual {v0, v2}, Landroid/widget/ImageButton;->setVisibility(I)V

    .line 813
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->u:Landroid/widget/EditText;

    invoke-virtual {v0, v2}, Landroid/widget/EditText;->setVisibility(I)V

    .line 814
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ab:Landroid/widget/Button;

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setVisibility(I)V

    .line 815
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->F:Landroid/widget/FrameLayout;

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->setVisibility(I)V

    goto :goto_0

    .line 817
    :cond_0
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->B:Landroid/widget/ImageButton;

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setVisibility(I)V

    .line 818
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->u:Landroid/widget/EditText;

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setVisibility(I)V

    .line 819
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ab:Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setVisibility(I)V

    .line 820
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->F:Landroid/widget/FrameLayout;

    invoke-virtual {v0, v2}, Landroid/widget/FrameLayout;->setVisibility(I)V

    :goto_0
    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 5

    .line 587
    invoke-static {}, Lcom/moji/mjappstore/engine/AppUtil;->a()Z

    move-result v0

    if-nez v0, :cond_0

    return-void

    .line 590
    :cond_0
    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;

    .line 591
    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ab:Landroid/widget/Button;

    invoke-virtual {p1, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v1

    const/4 v2, 0x1

    const/16 v3, 0x8

    const/4 v4, 0x0

    if-eqz v1, :cond_4

    .line 592
    invoke-static {}, Lcom/moji/mjappstore/engine/AppUtil;->b()Z

    move-result p1

    if-nez p1, :cond_1

    .line 593
    invoke-virtual {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->l()V

    return-void

    .line 596
    :cond_1
    iget p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->K:I

    if-eq p1, v2, :cond_3

    iget p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->K:I

    const/4 v0, 0x3

    if-ne p1, v0, :cond_2

    goto :goto_0

    .line 602
    :cond_2
    sget p1, Lcom/moji/mjappstore/R$string;->skin_prompt_not_comment:I

    invoke-static {p1}, Lcom/moji/tool/ToastTool;->a(I)V

    goto/16 :goto_2

    .line 597
    :cond_3
    :goto_0
    iget-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->c:Lcom/moji/emotion/EmotionFragment;

    invoke-virtual {p1, v3}, Lcom/moji/emotion/EmotionFragment;->a(I)V

    .line 598
    iget-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->i:Landroid/view/inputmethod/InputMethodManager;

    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->u:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getApplicationWindowToken()Landroid/os/IBinder;

    move-result-object v0

    invoke-virtual {p1, v0, v4}, Landroid/view/inputmethod/InputMethodManager;->hideSoftInputFromWindow(Landroid/os/IBinder;I)Z

    .line 599
    iget-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->B:Landroid/widget/ImageButton;

    sget v0, Lcom/moji/mjappstore/R$drawable;->add_emotion:I

    invoke-virtual {p1, v0}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    .line 600
    invoke-virtual {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->k()V

    goto/16 :goto_2

    .line 604
    :cond_4
    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->B:Landroid/widget/ImageButton;

    invoke-virtual {p1, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_6

    .line 605
    invoke-static {}, Lcom/moji/mjappstore/engine/AppUtil;->b()Z

    move-result p1

    if-eqz p1, :cond_e

    .line 606
    iget-boolean p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->j:Z

    if-eqz p1, :cond_5

    .line 607
    invoke-virtual {p0, v4}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->setEmotionVisibility(Z)V

    goto/16 :goto_2

    .line 609
    :cond_5
    invoke-virtual {p0, v2}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->setEmotionVisibility(Z)V

    goto/16 :goto_2

    .line 612
    :cond_6
    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->u:Landroid/widget/EditText;

    invoke-virtual {p1, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_7

    .line 613
    invoke-static {}, Lcom/moji/mjappstore/engine/AppUtil;->b()Z

    move-result p1

    if-eqz p1, :cond_e

    .line 614
    invoke-virtual {p0, v4}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->setEmotionVisibility(Z)V

    goto/16 :goto_2

    .line 615
    :cond_7
    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->Q:Landroid/widget/ImageView;

    invoke-virtual {p1, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_8

    .line 616
    invoke-static {}, Lcom/moji/account/data/AccountProvider;->a()Lcom/moji/account/data/AccountProvider;

    move-result-object p1

    invoke-virtual {p1, p0}, Lcom/moji/account/data/AccountProvider;->b(Landroid/content/Context;)V

    goto/16 :goto_2

    .line 617
    :cond_8
    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->U:Landroid/widget/ImageButton;

    invoke-virtual {p1, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_9

    .line 618
    iget-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->R:Landroid/widget/RelativeLayout;

    invoke-virtual {p1, v4}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    .line 619
    iget-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->W:Landroid/widget/RelativeLayout;

    invoke-virtual {p1, v3}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    .line 620
    iget-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->v:Lcom/moji/mjappstore/engine/AppCommentListWrap;

    invoke-virtual {p1}, Lcom/moji/mjappstore/engine/AppCommentListWrap;->c()V

    goto/16 :goto_2

    .line 621
    :cond_9
    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->S:Landroid/widget/ImageButton;

    invoke-virtual {p1, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_a

    .line 622
    iget-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->R:Landroid/widget/RelativeLayout;

    invoke-virtual {p1, v3}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    .line 623
    invoke-virtual {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->j()V

    goto :goto_2

    .line 624
    :cond_a
    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->r:Landroid/widget/Button;

    invoke-virtual {p1, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_b

    .line 625
    invoke-direct {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->w()V

    goto :goto_2

    .line 626
    :cond_b
    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->D:Lcom/moji/imageview/RemoteImageView;

    invoke-virtual {p1, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_d

    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->Z:Lcom/moji/imageview/RemoteImageView;

    invoke-virtual {p1, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_d

    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ad:Lcom/moji/imageview/RemoteImageView;

    invoke-virtual {p1, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_c

    goto :goto_1

    .line 636
    :cond_c
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->P:Landroid/widget/LinearLayout;

    invoke-virtual {p1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_e

    .line 637
    iget-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->P:Landroid/widget/LinearLayout;

    invoke-virtual {p1, v3}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 638
    iget-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->O:Landroid/widget/LinearLayout;

    invoke-virtual {p1, v4}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 639
    invoke-direct {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->y()V

    goto :goto_2

    :cond_d
    :goto_1
    if-eqz v0, :cond_e

    .line 628
    new-instance p1, Landroid/content/Intent;

    const-class v1, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;

    invoke-direct {p1, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v1, "appid"

    .line 629
    invoke-virtual {v0}, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->getAppid()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {p1, v1, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string v1, "appName"

    .line 630
    invoke-virtual {v0}, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->getName()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v1, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string v0, "fromAppId"

    .line 631
    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->l:Ljava/lang/String;

    invoke-virtual {p1, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string v0, "downLoadCategory"

    const/4 v1, -0x1

    .line 632
    invoke-virtual {p1, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    const-string v0, "formRelativeApp"

    .line 633
    invoke-virtual {p1, v0, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 634
    invoke-virtual {p0, p1}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->startActivity(Landroid/content/Intent;)V

    :cond_e
    :goto_2
    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 0

    .line 139
    invoke-virtual {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->a()V

    .line 140
    invoke-super {p0, p1}, Lcom/moji/mjappstore/BaseFragmentActivity;->onCreate(Landroid/os/Bundle;)V

    .line 144
    invoke-direct {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->s()V

    .line 145
    invoke-direct {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->t()V

    .line 146
    invoke-direct {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->u()V

    .line 147
    sput-object p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->instance:Lcom/moji/mjappstore/activity/AppStoreDetailActivity;

    const-string p1, "input_method"

    .line 148
    invoke-virtual {p0, p1}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Landroid/view/inputmethod/InputMethodManager;

    iput-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->i:Landroid/view/inputmethod/InputMethodManager;

    return-void
.end method

.method protected onDestroy()V
    .locals 2

    .line 645
    invoke-super {p0}, Lcom/moji/mjappstore/BaseFragmentActivity;->onDestroy()V

    .line 646
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->O:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getVisibility()I

    move-result v0

    const/16 v1, 0x8

    if-nez v0, :cond_0

    .line 647
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->O:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 649
    :cond_0
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->H:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getVisibility()I

    move-result v0

    if-nez v0, :cond_1

    .line 650
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->H:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    :cond_1
    return-void
.end method

.method public onDownloadFinish()V
    .locals 1

    .line 724
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    if-eqz v0, :cond_0

    .line 726
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    invoke-static {p0, v0}, Lcom/moji/mjappstore/engine/AppUtil;->a(Landroid/content/Context;Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;)I

    .line 727
    invoke-virtual {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->m()V

    .line 729
    :cond_0
    invoke-direct {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->x()V

    .line 730
    invoke-virtual {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->j()V

    return-void
.end method

.method public onDownloading()V
    .locals 1

    .line 734
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    if-eqz v0, :cond_0

    .line 736
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    invoke-static {p0, v0}, Lcom/moji/mjappstore/engine/AppUtil;->a(Landroid/content/Context;Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;)I

    .line 737
    invoke-virtual {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->m()V

    :cond_0
    return-void
.end method

.method public onInstalled()V
    .locals 1

    .line 742
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    if-eqz v0, :cond_0

    .line 744
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    invoke-static {p0, v0}, Lcom/moji/mjappstore/engine/AppUtil;->a(Landroid/content/Context;Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;)I

    .line 745
    invoke-virtual {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->m()V

    :cond_0
    return-void
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 2

    .line 657
    sget-object v0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->b:Ljava/lang/String;

    const-string v1, " onKeyDown "

    invoke-static {v0, v1}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 659
    invoke-virtual {p2}, Landroid/view/KeyEvent;->getKeyCode()I

    move-result v0

    const/4 v1, 0x4

    if-ne v0, v1, :cond_0

    iget-boolean v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->j:Z

    if-eqz v0, :cond_0

    .line 660
    iget-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->c:Lcom/moji/emotion/EmotionFragment;

    const/16 p2, 0x8

    invoke-virtual {p1, p2}, Lcom/moji/emotion/EmotionFragment;->a(I)V

    .line 661
    iget-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->B:Landroid/widget/ImageButton;

    sget p2, Lcom/moji/mjappstore/R$drawable;->add_emotion:I

    invoke-virtual {p1, p2}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    const/4 p1, 0x0

    .line 662
    iput-boolean p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->j:Z

    return p1

    .line 665
    :cond_0
    invoke-super {p0, p1, p2}, Lcom/moji/mjappstore/BaseFragmentActivity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result p1

    return p1
.end method

.method public onReplaced()V
    .locals 1

    .line 716
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    if-eqz v0, :cond_0

    .line 718
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    invoke-static {p0, v0}, Lcom/moji/mjappstore/engine/AppUtil;->a(Landroid/content/Context;Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;)I

    .line 719
    invoke-virtual {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->m()V

    :cond_0
    return-void
.end method

.method protected onResume()V
    .locals 2

    .line 672
    invoke-super {p0}, Lcom/moji/mjappstore/BaseFragmentActivity;->onResume()V

    .line 673
    sget-object v0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->b:Ljava/lang/String;

    const-string v1, "OnResume"

    invoke-static {v0, v1}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 674
    invoke-virtual {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n()V

    .line 675
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    if-eqz v0, :cond_0

    .line 677
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    invoke-static {p0, v0}, Lcom/moji/mjappstore/engine/AppUtil;->a(Landroid/content/Context;Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;)I

    .line 678
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    invoke-virtual {v0}, Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;->getSoftstate()I

    move-result v0

    iput v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->K:I

    .line 679
    invoke-virtual {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->m()V

    .line 681
    :cond_0
    invoke-direct {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->x()V

    .line 682
    invoke-virtual {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->j()V

    return-void
.end method

.method public onScroll(Landroid/widget/AbsListView;III)V
    .locals 0

    add-int/2addr p2, p3

    if-lt p2, p4, :cond_0

    const/4 p1, 0x1

    .line 693
    iput-boolean p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ak:Z

    const-string p1, "chao"

    const-string p2, "OnScroll"

    .line 694
    invoke-static {p1, p2}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    :cond_0
    return-void
.end method

.method public onScrollStateChanged(Landroid/widget/AbsListView;I)V
    .locals 0

    .line 699
    iget-boolean p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->J:Z

    if-nez p1, :cond_0

    iget-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->x:Ljava/util/ArrayList;

    if-eqz p1, :cond_0

    iget-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->x:Ljava/util/ArrayList;

    invoke-virtual {p1}, Ljava/util/ArrayList;->isEmpty()Z

    move-result p1

    if-nez p1, :cond_0

    iget-boolean p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ak:Z

    if-eqz p1, :cond_0

    if-nez p2, :cond_0

    iget-boolean p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->L:Z

    if-nez p1, :cond_0

    .line 700
    invoke-direct {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->u()V

    const-string p1, "chao"

    const-string p2, "stateChange"

    .line 701
    invoke-static {p1, p2}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    :cond_0
    return-void
.end method

.method public onTextChanged(Ljava/lang/CharSequence;III)V
    .locals 0

    .line 938
    invoke-interface {p1}, Ljava/lang/CharSequence;->length()I

    move-result p1

    if-lez p1, :cond_0

    .line 939
    iget-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ab:Landroid/widget/Button;

    const/4 p2, 0x1

    invoke-virtual {p1, p2}, Landroid/widget/Button;->setClickable(Z)V

    .line 940
    iget-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ab:Landroid/widget/Button;

    invoke-virtual {p1, p2}, Landroid/widget/Button;->setEnabled(Z)V

    .line 941
    iget-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ab:Landroid/widget/Button;

    sget p2, Lcom/moji/mjappstore/R$drawable;->common_btn_corner_blue_selector:I

    invoke-virtual {p1, p2}, Landroid/widget/Button;->setBackgroundResource(I)V

    goto :goto_0

    .line 943
    :cond_0
    iget-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ab:Landroid/widget/Button;

    const/4 p2, 0x0

    invoke-virtual {p1, p2}, Landroid/widget/Button;->setClickable(Z)V

    .line 944
    iget-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ab:Landroid/widget/Button;

    invoke-virtual {p1, p2}, Landroid/widget/Button;->setEnabled(Z)V

    .line 945
    iget-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->ab:Landroid/widget/Button;

    sget p2, Lcom/moji/mjappstore/R$drawable;->liveview_comment_gray_btn:I

    invoke-virtual {p1, p2}, Landroid/widget/Button;->setBackgroundResource(I)V

    :goto_0
    return-void
.end method

.method public onUninstalled()V
    .locals 1

    .line 708
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    if-eqz v0, :cond_0

    .line 710
    iget-object v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->n:Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;

    invoke-static {p0, v0}, Lcom/moji/mjappstore/engine/AppUtil;->a(Landroid/content/Context;Lcom/moji/http/appmoji001/data/AppDetailInfoResult$AppDetailInfo;)I

    .line 711
    invoke-virtual {p0}, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->m()V

    :cond_0
    return-void
.end method

.method public setEmotionVisibility(Z)V
    .locals 2

    const/4 v0, 0x0

    if-eqz p1, :cond_0

    .line 826
    iget-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->c:Lcom/moji/emotion/EmotionFragment;

    invoke-virtual {p1, v0}, Lcom/moji/emotion/EmotionFragment;->a(I)V

    .line 827
    iget-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->i:Landroid/view/inputmethod/InputMethodManager;

    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->u:Landroid/widget/EditText;

    invoke-virtual {v1}, Landroid/widget/EditText;->getApplicationWindowToken()Landroid/os/IBinder;

    move-result-object v1

    invoke-virtual {p1, v1, v0}, Landroid/view/inputmethod/InputMethodManager;->hideSoftInputFromWindow(Landroid/os/IBinder;I)Z

    .line 828
    iget-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->B:Landroid/widget/ImageButton;

    sget v0, Lcom/moji/mjappstore/R$drawable;->add_words:I

    invoke-virtual {p1, v0}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    const/4 p1, 0x1

    .line 829
    iput-boolean p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->j:Z

    goto :goto_0

    .line 831
    :cond_0
    iget-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->c:Lcom/moji/emotion/EmotionFragment;

    const/16 v1, 0x8

    invoke-virtual {p1, v1}, Lcom/moji/emotion/EmotionFragment;->a(I)V

    .line 832
    iget-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->u:Landroid/widget/EditText;

    invoke-virtual {p1}, Landroid/widget/EditText;->requestFocus()Z

    .line 833
    iget-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->i:Landroid/view/inputmethod/InputMethodManager;

    iget-object v1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->u:Landroid/widget/EditText;

    invoke-virtual {p1, v1, v0}, Landroid/view/inputmethod/InputMethodManager;->showSoftInput(Landroid/view/View;I)Z

    .line 834
    iget-object p1, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->B:Landroid/widget/ImageButton;

    sget v1, Lcom/moji/mjappstore/R$drawable;->add_emotion:I

    invoke-virtual {p1, v1}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    .line 835
    iput-boolean v0, p0, Lcom/moji/mjappstore/activity/AppStoreDetailActivity;->j:Z

    :goto_0
    return-void
.end method
