.class public Lcom/moji/newliveview/subject/ui/SubjectActivity;
.super Lcom/moji/newliveview/base/NeedShowInputBoxActivity;
.source "SubjectActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation build Lcom/moji/router/annotation/Router;
.end annotation

.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/moji/newliveview/subject/ui/SubjectActivity$MyMenuItemClickListener;,
        Lcom/moji/newliveview/subject/ui/SubjectActivity$SubjectCallbackImpl;
    }
.end annotation


# static fields
.field public static final EXTRA_DATA_SUBJECT_ID:Ljava/lang/String; = "extra_data_subject_id"

.field private static c:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Ljava/lang/ref/WeakReference<",
            "Lcom/moji/newliveview/subject/ui/SubjectActivity;",
            ">;>;"
        }
    .end annotation
.end field


# instance fields
.field private A:I

.field private B:Z

.field private C:Z

.field private D:Landroid/view/View;

.field private E:Landroid/widget/TextView;

.field private F:Landroid/widget/TextView;

.field private G:J

.field private H:I

.field private i:Lcom/moji/titlebar/MJTitleBar;

.field private j:Landroid/widget/TextView;

.field private k:Landroid/view/View;

.field private l:Landroid/view/View;

.field private m:Landroid/view/View;

.field private n:Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;

.field private o:Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;

.field private p:Landroid/support/v7/widget/RecyclerView;

.field private q:Landroid/support/v7/widget/LinearLayoutManager;

.field private r:Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;

.field private s:Lcom/moji/newliveview/subject/cell/DetailShareCell;

.field private t:Lcom/moji/newliveview/subject/cell/DetailCommentHeaderCell;

.field private u:Lcom/moji/newliveview/subject/cell/DetailCommentNoticeCell;

.field private v:Lcom/moji/newliveview/dynamic/FooterCell;

.field private w:Lcom/moji/common/area/AreaInfo;

.field private x:J

.field private y:Lcom/moji/newliveview/subject/presenter/SubjectPresenter;

.field private z:Lcom/moji/http/snsforum/entity/SubjectDetailResult;


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

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

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

    sput-object v0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->c:Ljava/util/List;

    return-void
.end method

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

    .line 71
    invoke-direct {p0}, Lcom/moji/newliveview/base/NeedShowInputBoxActivity;-><init>()V

    const/4 v0, 0x0

    .line 94
    iput v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->A:I

    const/4 v1, 0x1

    .line 95
    iput-boolean v1, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->B:Z

    .line 96
    iput-boolean v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->C:Z

    return-void
.end method

.method static synthetic A(Lcom/moji/newliveview/subject/ui/SubjectActivity;)Lcom/moji/newliveview/subject/cell/DetailCommentHeaderCell;
    .locals 0

    .line 71
    iget-object p0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->t:Lcom/moji/newliveview/subject/cell/DetailCommentHeaderCell;

    return-object p0
.end method

.method static synthetic B(Lcom/moji/newliveview/subject/ui/SubjectActivity;)Lcom/moji/newliveview/subject/cell/DetailCommentNoticeCell;
    .locals 0

    .line 71
    iget-object p0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->u:Lcom/moji/newliveview/subject/cell/DetailCommentNoticeCell;

    return-object p0
.end method

.method static synthetic C(Lcom/moji/newliveview/subject/ui/SubjectActivity;)I
    .locals 2

    .line 71
    iget v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->A:I

    add-int/lit8 v1, v0, 0x1

    iput v1, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->A:I

    return v0
.end method

.method static synthetic D(Lcom/moji/newliveview/subject/ui/SubjectActivity;)Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;
    .locals 0

    .line 71
    iget-object p0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->n:Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;

    return-object p0
.end method

.method static synthetic E(Lcom/moji/newliveview/subject/ui/SubjectActivity;)I
    .locals 2

    .line 71
    iget v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->A:I

    add-int/lit8 v1, v0, -0x1

    iput v1, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->A:I

    return v0
.end method

.method static synthetic a(Lcom/moji/newliveview/subject/ui/SubjectActivity;I)I
    .locals 0

    .line 71
    iput p1, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->H:I

    return p1
.end method

.method static synthetic a(Lcom/moji/newliveview/subject/ui/SubjectActivity;Lcom/moji/http/snsforum/entity/SubjectDetailResult;)Lcom/moji/http/snsforum/entity/SubjectDetailResult;
    .locals 0

    .line 71
    iput-object p1, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->z:Lcom/moji/http/snsforum/entity/SubjectDetailResult;

    return-object p1
.end method

.method static synthetic a(Lcom/moji/newliveview/subject/ui/SubjectActivity;Lcom/moji/newliveview/subject/cell/DetailCommentHeaderCell;)Lcom/moji/newliveview/subject/cell/DetailCommentHeaderCell;
    .locals 0

    .line 71
    iput-object p1, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->t:Lcom/moji/newliveview/subject/cell/DetailCommentHeaderCell;

    return-object p1
.end method

.method static synthetic a(Lcom/moji/newliveview/subject/ui/SubjectActivity;Lcom/moji/newliveview/subject/cell/DetailCommentNoticeCell;)Lcom/moji/newliveview/subject/cell/DetailCommentNoticeCell;
    .locals 0

    .line 71
    iput-object p1, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->u:Lcom/moji/newliveview/subject/cell/DetailCommentNoticeCell;

    return-object p1
.end method

.method static synthetic a(Lcom/moji/newliveview/subject/ui/SubjectActivity;)Lcom/moji/newliveview/subject/cell/DetailShareCell;
    .locals 0

    .line 71
    iget-object p0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->s:Lcom/moji/newliveview/subject/cell/DetailShareCell;

    return-object p0
.end method

.method static synthetic a(Lcom/moji/newliveview/subject/ui/SubjectActivity;Lcom/moji/newliveview/subject/cell/DetailShareCell;)Lcom/moji/newliveview/subject/cell/DetailShareCell;
    .locals 0

    .line 71
    iput-object p1, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->s:Lcom/moji/newliveview/subject/cell/DetailShareCell;

    return-object p1
.end method

.method static synthetic a(Lcom/moji/newliveview/subject/ui/SubjectActivity;Ljava/lang/String;Lcom/moji/http/snsforum/ILiveViewComment;)V
    .locals 0

    .line 71
    invoke-direct {p0, p1, p2}, Lcom/moji/newliveview/subject/ui/SubjectActivity;->a(Ljava/lang/String;Lcom/moji/http/snsforum/ILiveViewComment;)V

    return-void
.end method

.method private a(Ljava/lang/String;Lcom/moji/http/snsforum/ILiveViewComment;)V
    .locals 10

    .line 461
    invoke-virtual {p1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 462
    sget p1, Lcom/moji/newliveview/R$string;->input_empty:I

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

    return-void

    .line 465
    :cond_0
    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v0

    const/16 v1, 0x200

    if-le v0, v1, :cond_1

    .line 466
    sget p1, Lcom/moji/newliveview/R$string;->max_char_limit:I

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

    return-void

    .line 469
    :cond_1
    invoke-static {}, Lcom/moji/newliveview/base/utils/GlobalUtils;->b()I

    move-result v8

    .line 470
    invoke-static {}, Lcom/moji/newliveview/base/utils/GlobalUtils;->a()Ljava/lang/String;

    move-result-object v9

    if-nez p2, :cond_2

    .line 472
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->y:Lcom/moji/newliveview/subject/presenter/SubjectPresenter;

    iget-wide v2, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->x:J

    const-wide/16 v4, -0x1

    const-wide/16 v6, -0x1

    move-object v1, p1

    invoke-virtual/range {v0 .. v9}, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->a(Ljava/lang/String;JJJILjava/lang/String;)V

    goto :goto_0

    .line 473
    :cond_2
    instance-of v0, p2, Lcom/moji/http/snsforum/entity/PictureComment;

    if-eqz v0, :cond_3

    .line 474
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->y:Lcom/moji/newliveview/subject/presenter/SubjectPresenter;

    iget-wide v2, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->x:J

    invoke-interface {p2}, Lcom/moji/http/snsforum/ILiveViewComment;->getCommentId()J

    move-result-wide v4

    const-wide/16 v6, -0x1

    move-object v1, p1

    invoke-virtual/range {v0 .. v9}, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->a(Ljava/lang/String;JJJILjava/lang/String;)V

    goto :goto_0

    .line 476
    :cond_3
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->y:Lcom/moji/newliveview/subject/presenter/SubjectPresenter;

    iget-wide v2, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->x:J

    invoke-interface {p2}, Lcom/moji/http/snsforum/ILiveViewComment;->getCommentId()J

    move-result-wide v4

    invoke-interface {p2}, Lcom/moji/http/snsforum/ILiveViewComment;->getReplyCommentId()J

    move-result-wide v6

    move-object v1, p1

    invoke-virtual/range {v0 .. v9}, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->a(Ljava/lang/String;JJJILjava/lang/String;)V

    :goto_0
    return-void
.end method

.method static synthetic a(Lcom/moji/newliveview/subject/ui/SubjectActivity;Z)Z
    .locals 0

    .line 71
    iput-boolean p1, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->C:Z

    return p1
.end method

.method static synthetic b(Lcom/moji/newliveview/subject/ui/SubjectActivity;I)I
    .locals 0

    .line 71
    iput p1, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->A:I

    return p1
.end method

.method static synthetic b(Lcom/moji/newliveview/subject/ui/SubjectActivity;)J
    .locals 2

    .line 71
    iget-wide v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->x:J

    return-wide v0
.end method

.method static synthetic b(Lcom/moji/newliveview/subject/ui/SubjectActivity;Z)Z
    .locals 0

    .line 71
    iput-boolean p1, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->B:Z

    return p1
.end method

.method static synthetic c(Lcom/moji/newliveview/subject/ui/SubjectActivity;)Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;
    .locals 0

    .line 71
    iget-object p0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->a:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    return-object p0
.end method

.method static synthetic d(Lcom/moji/newliveview/subject/ui/SubjectActivity;)Lcom/moji/common/area/AreaInfo;
    .locals 0

    .line 71
    iget-object p0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->w:Lcom/moji/common/area/AreaInfo;

    return-object p0
.end method

.method static synthetic e(Lcom/moji/newliveview/subject/ui/SubjectActivity;)Lcom/moji/newliveview/subject/presenter/SubjectPresenter;
    .locals 0

    .line 71
    iget-object p0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->y:Lcom/moji/newliveview/subject/presenter/SubjectPresenter;

    return-object p0
.end method

.method static synthetic f(Lcom/moji/newliveview/subject/ui/SubjectActivity;)Landroid/support/v7/widget/LinearLayoutManager;
    .locals 0

    .line 71
    iget-object p0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->q:Landroid/support/v7/widget/LinearLayoutManager;

    return-object p0
.end method

.method static synthetic g(Lcom/moji/newliveview/subject/ui/SubjectActivity;)Landroid/view/View;
    .locals 0

    .line 71
    iget-object p0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->l:Landroid/view/View;

    return-object p0
.end method

.method static synthetic h(Lcom/moji/newliveview/subject/ui/SubjectActivity;)Landroid/view/View;
    .locals 0

    .line 71
    iget-object p0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->m:Landroid/view/View;

    return-object p0
.end method

.method static synthetic i(Lcom/moji/newliveview/subject/ui/SubjectActivity;)Landroid/support/v7/widget/RecyclerView;
    .locals 0

    .line 71
    iget-object p0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->p:Landroid/support/v7/widget/RecyclerView;

    return-object p0
.end method

.method static synthetic j(Lcom/moji/newliveview/subject/ui/SubjectActivity;)Z
    .locals 0

    .line 71
    iget-boolean p0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->C:Z

    return p0
.end method

.method static synthetic k(Lcom/moji/newliveview/subject/ui/SubjectActivity;)I
    .locals 0

    .line 71
    iget p0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->A:I

    return p0
.end method

.method static synthetic l(Lcom/moji/newliveview/subject/ui/SubjectActivity;)Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;
    .locals 0

    .line 71
    iget-object p0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->r:Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;

    return-object p0
.end method

.method static synthetic l()Ljava/util/List;
    .locals 1

    .line 71
    sget-object v0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->c:Ljava/util/List;

    return-object v0
.end method

.method static synthetic m(Lcom/moji/newliveview/subject/ui/SubjectActivity;)Landroid/view/View;
    .locals 0

    .line 71
    iget-object p0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->k:Landroid/view/View;

    return-object p0
.end method

.method static synthetic n(Lcom/moji/newliveview/subject/ui/SubjectActivity;)I
    .locals 0

    .line 71
    iget p0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->H:I

    return p0
.end method

.method static synthetic o(Lcom/moji/newliveview/subject/ui/SubjectActivity;)Landroid/view/View;
    .locals 0

    .line 71
    iget-object p0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->D:Landroid/view/View;

    return-object p0
.end method

.method static synthetic p(Lcom/moji/newliveview/subject/ui/SubjectActivity;)Landroid/widget/TextView;
    .locals 0

    .line 71
    iget-object p0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->E:Landroid/widget/TextView;

    return-object p0
.end method

.method static synthetic q(Lcom/moji/newliveview/subject/ui/SubjectActivity;)Landroid/widget/TextView;
    .locals 0

    .line 71
    iget-object p0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->F:Landroid/widget/TextView;

    return-object p0
.end method

.method static synthetic r(Lcom/moji/newliveview/subject/ui/SubjectActivity;)Z
    .locals 0

    .line 71
    iget-boolean p0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->B:Z

    return p0
.end method

.method static synthetic s(Lcom/moji/newliveview/subject/ui/SubjectActivity;)Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;
    .locals 0

    .line 71
    iget-object p0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->a:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    return-object p0
.end method

.method static synthetic t(Lcom/moji/newliveview/subject/ui/SubjectActivity;)Lcom/moji/http/snsforum/entity/SubjectDetailResult;
    .locals 0

    .line 71
    iget-object p0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->z:Lcom/moji/http/snsforum/entity/SubjectDetailResult;

    return-object p0
.end method

.method static synthetic u(Lcom/moji/newliveview/subject/ui/SubjectActivity;)Lcom/moji/titlebar/MJTitleBar;
    .locals 0

    .line 71
    iget-object p0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->i:Lcom/moji/titlebar/MJTitleBar;

    return-object p0
.end method

.method static synthetic v(Lcom/moji/newliveview/subject/ui/SubjectActivity;)Lcom/moji/newliveview/dynamic/FooterCell;
    .locals 0

    .line 71
    iget-object p0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->v:Lcom/moji/newliveview/dynamic/FooterCell;

    return-object p0
.end method

.method static synthetic w(Lcom/moji/newliveview/subject/ui/SubjectActivity;)Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;
    .locals 0

    .line 71
    iget-object p0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->a:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    return-object p0
.end method

.method static synthetic x(Lcom/moji/newliveview/subject/ui/SubjectActivity;)Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;
    .locals 0

    .line 71
    iget-object p0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->a:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    return-object p0
.end method

.method static synthetic y(Lcom/moji/newliveview/subject/ui/SubjectActivity;)Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;
    .locals 0

    .line 71
    iget-object p0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->a:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    return-object p0
.end method

.method static synthetic z(Lcom/moji/newliveview/subject/ui/SubjectActivity;)Landroid/widget/TextView;
    .locals 0

    .line 71
    iget-object p0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->j:Landroid/widget/TextView;

    return-object p0
.end method


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

    .line 128
    sget v0, Lcom/moji/newliveview/R$layout;->activity_subject:I

    invoke-virtual {p0, v0}, Lcom/moji/newliveview/subject/ui/SubjectActivity;->setContentView(I)V

    .line 129
    new-instance v0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;

    new-instance v1, Lcom/moji/newliveview/subject/ui/SubjectActivity$SubjectCallbackImpl;

    const/4 v2, 0x0

    invoke-direct {v1, p0, v2}, Lcom/moji/newliveview/subject/ui/SubjectActivity$SubjectCallbackImpl;-><init>(Lcom/moji/newliveview/subject/ui/SubjectActivity;Lcom/moji/newliveview/subject/ui/SubjectActivity$1;)V

    invoke-direct {v0, v1}, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;-><init>(Lcom/moji/newliveview/subject/presenter/SubjectPresenter$SubjectCallback;)V

    iput-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->y:Lcom/moji/newliveview/subject/presenter/SubjectPresenter;

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

    move-result v0

    if-eqz v0, :cond_1

    .line 131
    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-virtual {p0}, Lcom/moji/newliveview/subject/ui/SubjectActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/moji/tool/DeviceTool;->c(Landroid/content/Context;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 132
    invoke-virtual {p0}, Lcom/moji/newliveview/subject/ui/SubjectActivity;->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 134
    :cond_0
    new-instance v0, Lcom/moji/mjweather/library/AndroidBug5497Workaround;

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

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/moji/mjweather/library/AndroidBug5497Workaround;->a(Z)V

    :cond_1
    :goto_0
    return-void
.end method

.method protected b()V
    .locals 2

    .line 141
    invoke-super {p0}, Lcom/moji/newliveview/base/NeedShowInputBoxActivity;->b()V

    .line 142
    sget v0, Lcom/moji/newliveview/R$id;->title_layout:I

    invoke-virtual {p0, v0}, Lcom/moji/newliveview/subject/ui/SubjectActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/moji/titlebar/MJTitleBar;

    iput-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->i:Lcom/moji/titlebar/MJTitleBar;

    .line 143
    sget v0, Lcom/moji/newliveview/R$id;->rl_comment_num_sticky:I

    invoke-virtual {p0, v0}, Lcom/moji/newliveview/subject/ui/SubjectActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->k:Landroid/view/View;

    .line 144
    sget v0, Lcom/moji/newliveview/R$id;->tv_comment_num_sticky:I

    invoke-virtual {p0, v0}, Lcom/moji/newliveview/subject/ui/SubjectActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->j:Landroid/widget/TextView;

    .line 145
    sget v0, Lcom/moji/newliveview/R$id;->tv_goto_home:I

    invoke-virtual {p0, v0}, Lcom/moji/newliveview/subject/ui/SubjectActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->l:Landroid/view/View;

    .line 146
    sget v0, Lcom/moji/newliveview/R$id;->rl_comment_layout:I

    invoke-virtual {p0, v0}, Lcom/moji/newliveview/subject/ui/SubjectActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->m:Landroid/view/View;

    .line 147
    sget v0, Lcom/moji/newliveview/R$id;->view_comment_input:I

    invoke-virtual {p0, v0}, Lcom/moji/newliveview/subject/ui/SubjectActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;

    iput-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->n:Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;

    .line 148
    sget v0, Lcom/moji/newliveview/R$id;->status_layout:I

    invoke-virtual {p0, v0}, Lcom/moji/newliveview/subject/ui/SubjectActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    iput-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->a:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    .line 149
    sget v0, Lcom/moji/newliveview/R$id;->rc_subject:I

    invoke-virtual {p0, v0}, Lcom/moji/newliveview/subject/ui/SubjectActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/support/v7/widget/RecyclerView;

    iput-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->p:Landroid/support/v7/widget/RecyclerView;

    .line 150
    new-instance v0, Landroid/support/v7/widget/LinearLayoutManager;

    invoke-direct {v0, p0}, Landroid/support/v7/widget/LinearLayoutManager;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->q:Landroid/support/v7/widget/LinearLayoutManager;

    .line 151
    new-instance v0, Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;

    invoke-direct {v0}, Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;-><init>()V

    iput-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->r:Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;

    .line 152
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->p:Landroid/support/v7/widget/RecyclerView;

    iget-object v1, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->q:Landroid/support/v7/widget/LinearLayoutManager;

    invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView;->setLayoutManager(Landroid/support/v7/widget/RecyclerView$LayoutManager;)V

    .line 153
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->p:Landroid/support/v7/widget/RecyclerView;

    iget-object v1, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->r:Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;

    invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView;->setAdapter(Landroid/support/v7/widget/RecyclerView$Adapter;)V

    .line 154
    new-instance v0, Lcom/moji/newliveview/dynamic/FooterCell;

    const/4 v1, 0x3

    invoke-direct {v0, v1}, Lcom/moji/newliveview/dynamic/FooterCell;-><init>(I)V

    iput-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->v:Lcom/moji/newliveview/dynamic/FooterCell;

    .line 155
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->v:Lcom/moji/newliveview/dynamic/FooterCell;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/moji/newliveview/dynamic/FooterCell;->a(Z)V

    .line 156
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->v:Lcom/moji/newliveview/dynamic/FooterCell;

    sget v1, Lcom/moji/newliveview/R$string;->upglide_load_more_comment:I

    invoke-static {v1}, Lcom/moji/tool/DeviceTool;->f(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/moji/newliveview/dynamic/FooterCell;->c(Ljava/lang/String;)V

    .line 158
    sget v0, Lcom/moji/newliveview/R$id;->v_indicator:I

    invoke-virtual {p0, v0}, Lcom/moji/newliveview/subject/ui/SubjectActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->D:Landroid/view/View;

    .line 159
    sget v0, Lcom/moji/newliveview/R$id;->tv_cur_page:I

    invoke-virtual {p0, v0}, Lcom/moji/newliveview/subject/ui/SubjectActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->E:Landroid/widget/TextView;

    .line 160
    sget v0, Lcom/moji/newliveview/R$id;->tv_count_page:I

    invoke-virtual {p0, v0}, Lcom/moji/newliveview/subject/ui/SubjectActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->F:Landroid/widget/TextView;

    .line 161
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->D:Landroid/view/View;

    const/16 v1, 0x8

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

    return-void
.end method

.method protected c()V
    .locals 3

    .line 166
    invoke-super {p0}, Lcom/moji/newliveview/base/NeedShowInputBoxActivity;->c()V

    .line 167
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->i:Lcom/moji/titlebar/MJTitleBar;

    sget v1, Lcom/moji/newliveview/R$string;->liveview_subject:I

    invoke-virtual {v0, v1}, Lcom/moji/titlebar/MJTitleBar;->setTitleText(I)V

    .line 168
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->i:Lcom/moji/titlebar/MJTitleBar;

    new-instance v1, Lcom/moji/newliveview/subject/ui/SubjectActivity$2;

    sget v2, Lcom/moji/newliveview/R$drawable;->title_share_selector:I

    invoke-direct {v1, p0, v2}, Lcom/moji/newliveview/subject/ui/SubjectActivity$2;-><init>(Lcom/moji/newliveview/subject/ui/SubjectActivity;I)V

    invoke-virtual {v0, v1}, Lcom/moji/titlebar/MJTitleBar;->a(Lcom/moji/titlebar/MJTitleBar$Action;)Landroid/view/View;

    .line 177
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->i:Lcom/moji/titlebar/MJTitleBar;

    invoke-virtual {v0}, Lcom/moji/titlebar/MJTitleBar;->h()V

    .line 178
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->l:Landroid/view/View;

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

    .line 179
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->m:Landroid/view/View;

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

    .line 180
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->a:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    new-instance v1, Lcom/moji/newliveview/subject/ui/SubjectActivity$3;

    invoke-direct {v1, p0}, Lcom/moji/newliveview/subject/ui/SubjectActivity$3;-><init>(Lcom/moji/newliveview/subject/ui/SubjectActivity;)V

    invoke-virtual {v0, v1}, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;->setOnRetryClickListener(Landroid/view/View$OnClickListener;)V

    .line 187
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->p:Landroid/support/v7/widget/RecyclerView;

    new-instance v1, Lcom/moji/newliveview/subject/ui/SubjectActivity$4;

    invoke-direct {v1, p0}, Lcom/moji/newliveview/subject/ui/SubjectActivity$4;-><init>(Lcom/moji/newliveview/subject/ui/SubjectActivity;)V

    invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView;->a(Landroid/support/v7/widget/RecyclerView$OnScrollListener;)V

    .line 265
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->n:Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;

    new-instance v1, Lcom/moji/newliveview/subject/ui/SubjectActivity$5;

    invoke-direct {v1, p0}, Lcom/moji/newliveview/subject/ui/SubjectActivity$5;-><init>(Lcom/moji/newliveview/subject/ui/SubjectActivity;)V

    invoke-virtual {v0, v1}, Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;->setOnCommentSendListener(Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView$OnCommentSendListener;)V

    return-void
.end method

.method protected d()V
    .locals 5

    .line 281
    invoke-virtual {p0}, Lcom/moji/newliveview/subject/ui/SubjectActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    if-nez v0, :cond_0

    .line 283
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->a:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    invoke-virtual {v0}, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;->C()V

    return-void

    :cond_0
    const-string v1, "extra_data_subject_id"

    const-wide/16 v2, 0x0

    .line 286
    invoke-virtual {v0, v1, v2, v3}, Landroid/content/Intent;->getLongExtra(Ljava/lang/String;J)J

    move-result-wide v0

    iput-wide v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->x:J

    .line 287
    iget-wide v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->x:J

    cmp-long v4, v0, v2

    if-nez v4, :cond_1

    .line 288
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->a:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    invoke-virtual {v0}, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;->C()V

    return-void

    .line 291
    :cond_1
    invoke-static {}, Lcom/moji/areamanagement/MJAreaManager;->a()Lcom/moji/common/area/AreaInfo;

    move-result-object v0

    iput-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->w:Lcom/moji/common/area/AreaInfo;

    .line 292
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->a:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    invoke-virtual {v0}, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;->F()V

    .line 293
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->y:Lcom/moji/newliveview/subject/presenter/SubjectPresenter;

    iget-wide v1, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->x:J

    iget-object v3, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->w:Lcom/moji/common/area/AreaInfo;

    invoke-virtual {v0, v1, v2, v3}, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->a(JLcom/moji/common/area/AreaInfo;)V

    .line 294
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object v0

    sget-object v1, Lcom/moji/statistics/EVENT_TAG;->NEWLIVEVIEW_SUBJECT:Lcom/moji/statistics/EVENT_TAG;

    new-instance v2, Ljava/lang/StringBuilder;

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

    const-string v3, ""

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

    iget-wide v3, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->x:J

    invoke-virtual {v2, v3, v4}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

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

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    return-void
.end method

.method protected j()V
    .locals 1

    .line 408
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->n:Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;

    if-eqz v0, :cond_0

    .line 409
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->n:Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;

    invoke-virtual {v0}, Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;->a()V

    :cond_0
    return-void
.end method

.method protected k()Z
    .locals 1

    .line 415
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->o:Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->o:Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;

    invoke-virtual {v0}, Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;->a()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 416
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->o:Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;

    invoke-virtual {v0}, Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;->b()V

    const/4 v0, 0x1

    return v0

    :cond_0
    const/4 v0, 0x0

    return v0
.end method

.method public loginSuccess(Lcom/moji/bus/event/BusEventCommon$LoginSuccessEvent;)V
    .locals 4
    .annotation runtime Lorg/greenrobot/eventbus/Subscribe;
        a = .enum Lorg/greenrobot/eventbus/ThreadMode;->MAIN:Lorg/greenrobot/eventbus/ThreadMode;
    .end annotation

    const/4 p1, 0x0

    .line 360
    iput p1, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->A:I

    const/4 v0, 0x1

    .line 361
    iput-boolean v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->B:Z

    .line 362
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->y:Lcom/moji/newliveview/subject/presenter/SubjectPresenter;

    if-eqz v0, :cond_0

    .line 363
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->y:Lcom/moji/newliveview/subject/presenter/SubjectPresenter;

    iget-wide v1, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->x:J

    iget-object v3, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->w:Lcom/moji/common/area/AreaInfo;

    invoke-virtual {v0, v1, v2, v3}, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->a(JLcom/moji/common/area/AreaInfo;)V

    .line 364
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->y:Lcom/moji/newliveview/subject/presenter/SubjectPresenter;

    invoke-virtual {v0}, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->a()V

    .line 366
    :cond_0
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->k:Landroid/view/View;

    if-eqz v0, :cond_1

    .line 367
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->k:Landroid/view/View;

    invoke-virtual {v0, p1}, Landroid/view/View;->setVisibility(I)V

    :cond_1
    return-void
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 0

    .line 319
    invoke-super {p0, p1, p2, p3}, Lcom/moji/newliveview/base/NeedShowInputBoxActivity;->onActivityResult(IILandroid/content/Intent;)V

    const/16 p3, 0x6f

    if-ne p1, p3, :cond_0

    if-eqz p2, :cond_0

    .line 321
    iget-object p1, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->n:Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;

    invoke-virtual {p1}, Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;->getContentString()Ljava/lang/String;

    move-result-object p1

    iget-object p2, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->n:Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;

    invoke-virtual {p2}, Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;->getCommentImpl()Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Lcom/moji/http/snsforum/ILiveViewComment;

    invoke-direct {p0, p1, p2}, Lcom/moji/newliveview/subject/ui/SubjectActivity;->a(Ljava/lang/String;Lcom/moji/http/snsforum/ILiveViewComment;)V

    :cond_0
    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 8

    .line 299
    invoke-static {}, Lcom/moji/tool/Utils;->b()Z

    move-result v0

    if-nez v0, :cond_0

    return-void

    .line 302
    :cond_0
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result p1

    .line 303
    sget v0, Lcom/moji/newliveview/R$id;->tv_goto_home:I

    if-ne p1, v0, :cond_1

    .line 304
    new-instance p1, Landroid/content/Intent;

    invoke-direct {p1}, Landroid/content/Intent;-><init>()V

    const-string v0, "com.moji.mjweather.MainActivity"

    .line 305
    invoke-virtual {p1, p0, v0}, Landroid/content/Intent;->setClassName(Landroid/content/Context;Ljava/lang/String;)Landroid/content/Intent;

    const-string v0, "selectTabLive"

    const/4 v1, 0x1

    .line 306
    invoke-virtual {p1, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 307
    invoke-virtual {p0, p1}, Lcom/moji/newliveview/subject/ui/SubjectActivity;->startActivity(Landroid/content/Intent;)V

    .line 308
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object p1

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->NEWLIVEVIEW_SUBJECT_JUMP_CLICK:Lcom/moji/statistics/EVENT_TAG;

    invoke-virtual {p1, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;

    .line 309
    invoke-virtual {p0}, Lcom/moji/newliveview/subject/ui/SubjectActivity;->finish()V

    goto :goto_0

    .line 310
    :cond_1
    sget v0, Lcom/moji/newliveview/R$id;->rl_comment_layout:I

    if-ne p1, v0, :cond_2

    .line 311
    iget-object p1, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->n:Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;

    const/4 v0, 0x0

    invoke-virtual {p1, v0, v0}, Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;->a(Ljava/lang/String;Ljava/lang/Object;)V

    .line 312
    iget-object v1, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->n:Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;

    iget-wide v2, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->x:J

    const-wide/16 v4, 0x0

    const-wide/16 v6, 0x0

    invoke-virtual/range {v1 .. v7}, Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;->a(JJJ)V

    .line 313
    iget-object p1, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->n:Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;

    const/4 v0, 0x0

    invoke-virtual {p1, v0}, Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;->setVisibility(I)V

    :cond_2
    :goto_0
    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 0
    .param p1    # Landroid/os/Bundle;
        .annotation build Landroid/support/annotation/Nullable;
        .end annotation
    .end param

    .line 104
    invoke-super {p0, p1}, Lcom/moji/newliveview/base/NeedShowInputBoxActivity;->onCreate(Landroid/os/Bundle;)V

    .line 105
    new-instance p1, Lcom/moji/newliveview/subject/ui/SubjectActivity$1;

    invoke-direct {p1, p0}, Lcom/moji/newliveview/subject/ui/SubjectActivity$1;-><init>(Lcom/moji/newliveview/subject/ui/SubjectActivity;)V

    invoke-static {p1}, Lcom/moji/tool/thread/MJPools;->a(Ljava/lang/Runnable;)I

    .line 123
    invoke-static {}, Lcom/moji/bus/Bus;->a()Lcom/moji/bus/Bus;

    move-result-object p1

    invoke-virtual {p1, p0}, Lcom/moji/bus/Bus;->a(Ljava/lang/Object;)V

    return-void
.end method

.method protected onDestroy()V
    .locals 2

    .line 344
    invoke-super {p0}, Lcom/moji/newliveview/base/NeedShowInputBoxActivity;->onDestroy()V

    .line 345
    invoke-static {}, Lcom/moji/bus/Bus;->a()Lcom/moji/bus/Bus;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/moji/bus/Bus;->b(Ljava/lang/Object;)V

    const/4 v0, 0x0

    .line 346
    :goto_0
    sget-object v1, Lcom/moji/newliveview/subject/ui/SubjectActivity;->c:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-ge v0, v1, :cond_1

    .line 347
    sget-object v1, Lcom/moji/newliveview/subject/ui/SubjectActivity;->c:Ljava/util/List;

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

    move-result-object v1

    check-cast v1, Ljava/lang/ref/WeakReference;

    if-eqz v1, :cond_0

    .line 349
    invoke-virtual {v1}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/moji/newliveview/subject/ui/SubjectActivity;

    if-eqz v1, :cond_0

    .line 350
    invoke-virtual {v1, p0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 351
    sget-object v1, Lcom/moji/newliveview/subject/ui/SubjectActivity;->c:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->remove(I)Ljava/lang/Object;

    goto :goto_1

    :cond_0
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_1
    :goto_1
    return-void
.end method

.method protected onPause()V
    .locals 7

    .line 335
    invoke-super {p0}, Lcom/moji/newliveview/base/NeedShowInputBoxActivity;->onPause()V

    .line 336
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iget-wide v2, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->G:J

    sub-long/2addr v0, v2

    .line 337
    iget-wide v2, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->G:J

    const-wide/16 v4, 0x0

    cmp-long v6, v2, v4

    if-eqz v6, :cond_0

    cmp-long v2, v0, v4

    if-eqz v2, :cond_0

    .line 338
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object v2

    sget-object v3, Lcom/moji/statistics/EVENT_TAG;->NEWLIVEVIEW_SUBJECT_DURATION:Lcom/moji/statistics/EVENT_TAG;

    new-instance v4, Ljava/lang/StringBuilder;

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

    const-string v5, ""

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

    iget-wide v5, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->x:J

    invoke-virtual {v4, v5, v6}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

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

    move-result-object v4

    invoke-virtual {v2, v3, v4, v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;J)Lcom/moji/statistics/EventManager;

    :cond_0
    return-void
.end method

.method public onPicturePraiseChanged(Lcom/moji/newliveview/category/PraiseEvent;)V
    .locals 7
    .annotation runtime Lorg/greenrobot/eventbus/Subscribe;
        a = .enum Lorg/greenrobot/eventbus/ThreadMode;->MAIN:Lorg/greenrobot/eventbus/ThreadMode;
    .end annotation

    if-nez p1, :cond_0

    return-void

    .line 393
    :cond_0
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->z:Lcom/moji/http/snsforum/entity/SubjectDetailResult;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->z:Lcom/moji/http/snsforum/entity/SubjectDetailResult;

    iget-object v0, v0, Lcom/moji/http/snsforum/entity/SubjectDetailResult;->picture_list:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_1

    goto :goto_0

    .line 396
    :cond_1
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->z:Lcom/moji/http/snsforum/entity/SubjectDetailResult;

    iget-object v0, v0, Lcom/moji/http/snsforum/entity/SubjectDetailResult;->picture_list:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_2
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_3

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

    move-result-object v1

    check-cast v1, Lcom/moji/http/snsforum/entity/SubjectDetailResult$SubjectPicture;

    .line 397
    iget-wide v2, p1, Lcom/moji/newliveview/category/PraiseEvent;->a:J

    iget-wide v4, v1, Lcom/moji/http/snsforum/entity/SubjectDetailResult$SubjectPicture;->picture_id:J

    cmp-long v6, v2, v4

    if-nez v6, :cond_2

    const/4 p1, 0x1

    .line 398
    iput-boolean p1, v1, Lcom/moji/http/snsforum/entity/SubjectDetailResult$SubjectPicture;->is_praise:Z

    .line 399
    iget v0, v1, Lcom/moji/http/snsforum/entity/SubjectDetailResult$SubjectPicture;->praise_num:I

    add-int/2addr v0, p1

    iput v0, v1, Lcom/moji/http/snsforum/entity/SubjectDetailResult$SubjectPicture;->praise_num:I

    .line 400
    iget-object p1, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->r:Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;

    invoke-virtual {p1}, Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;->c()V

    :cond_3
    return-void

    :cond_4
    :goto_0
    return-void
.end method

.method protected onResume()V
    .locals 2

    .line 327
    invoke-super {p0}, Lcom/moji/newliveview/base/NeedShowInputBoxActivity;->onResume()V

    .line 328
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->G:J

    return-void
.end method

.method public onSubjectPraiseChanged(Lcom/moji/newliveview/subject/EventSubjectPraise;)V
    .locals 2
    .annotation runtime Lorg/greenrobot/eventbus/Subscribe;
        a = .enum Lorg/greenrobot/eventbus/ThreadMode;->MAIN:Lorg/greenrobot/eventbus/ThreadMode;
    .end annotation

    if-nez p1, :cond_0

    return-void

    .line 376
    :cond_0
    iget-object p1, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->r:Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;

    if-nez p1, :cond_1

    return-void

    :cond_1
    const/4 p1, 0x0

    .line 379
    :goto_0
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->r:Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;

    invoke-virtual {v0}, Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;->a()I

    move-result v0

    if-ge p1, v0, :cond_3

    .line 380
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->r:Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;

    invoke-virtual {v0, p1}, Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;->a(I)I

    move-result v0

    const/4 v1, 0x3

    if-ne v0, v1, :cond_2

    .line 382
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->r:Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;

    invoke-virtual {v0, p1}, Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;->c(I)V

    goto :goto_1

    :cond_2
    add-int/lit8 p1, p1, 0x1

    goto :goto_0

    :cond_3
    :goto_1
    return-void
.end method

.method public showMenuPopWindow(Landroid/view/View;Lcom/moji/http/snsforum/ILiveViewComment;)V
    .locals 8

    if-nez p1, :cond_0

    if-nez p2, :cond_0

    .line 424
    iget-object p1, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->n:Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;

    invoke-interface {p2}, Lcom/moji/http/snsforum/ILiveViewComment;->getNick()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0, p2}, Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;->a(Ljava/lang/String;Ljava/lang/Object;)V

    .line 425
    iget-object v1, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->n:Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;

    iget-wide v2, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->x:J

    invoke-interface {p2}, Lcom/moji/http/snsforum/ILiveViewComment;->getCommentId()J

    move-result-wide v4

    invoke-interface {p2}, Lcom/moji/http/snsforum/ILiveViewComment;->getReplyCommentId()J

    move-result-wide v6

    invoke-virtual/range {v1 .. v7}, Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;->a(JJJ)V

    .line 426
    iget-object p1, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->n:Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;

    const/4 p2, 0x0

    invoke-virtual {p1, p2}, Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;->setVisibility(I)V

    return-void

    .line 429
    :cond_0
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->o:Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;

    if-nez v0, :cond_1

    .line 430
    new-instance v0, Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;

    invoke-direct {v0, p0}, Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->o:Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;

    .line 432
    :cond_1
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->o:Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;

    invoke-virtual {v0}, Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;->a()Z

    move-result v0

    if-eqz v0, :cond_2

    return-void

    .line 435
    :cond_2
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->o:Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;

    new-instance v1, Lcom/moji/newliveview/subject/ui/SubjectActivity$MyMenuItemClickListener;

    const/4 v2, 0x0

    invoke-direct {v1, p0, v2}, Lcom/moji/newliveview/subject/ui/SubjectActivity$MyMenuItemClickListener;-><init>(Lcom/moji/newliveview/subject/ui/SubjectActivity;Lcom/moji/newliveview/subject/ui/SubjectActivity$1;)V

    invoke-virtual {v0, v1}, Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;->a(Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow$OnMenuItemClickListener;)V

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

    move-result-object v0

    invoke-virtual {v0}, Lcom/moji/account/data/AccountProvider;->f()Z

    move-result v0

    if-eqz v0, :cond_6

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

    move-result-object v0

    invoke-virtual {v0}, Lcom/moji/account/data/AccountProvider;->d()Ljava/lang/String;

    move-result-object v0

    .line 438
    invoke-interface {p2}, Lcom/moji/http/snsforum/ILiveViewComment;->getSnsId()J

    move-result-wide v1

    invoke-static {v1, v2}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object v1

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

    move-result v1

    if-eqz v1, :cond_3

    .line 439
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->o:Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;

    sget v1, Lcom/moji/newliveview/R$array;->copy_and_delete:I

    invoke-static {v1}, Lcom/moji/tool/DeviceTool;->b(I)[Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, p1, v1, p2}, Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;->a(Landroid/view/View;[Ljava/lang/String;Ljava/lang/Object;)V

    goto :goto_0

    .line 441
    :cond_3
    instance-of v1, p2, Lcom/moji/http/snsforum/entity/PictureComment;

    if-eqz v1, :cond_4

    .line 442
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->o:Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;

    sget v1, Lcom/moji/newliveview/R$array;->reply_and_copy:I

    invoke-static {v1}, Lcom/moji/tool/DeviceTool;->b(I)[Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, p1, v1, p2}, Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;->a(Landroid/view/View;[Ljava/lang/String;Ljava/lang/Object;)V

    goto :goto_0

    .line 443
    :cond_4
    instance-of v1, p2, Lcom/moji/http/snsforum/entity/PictureReplyComment;

    if-eqz v1, :cond_8

    .line 444
    invoke-interface {p2}, Lcom/moji/http/snsforum/ILiveViewComment;->getSnsId()J

    move-result-wide v1

    invoke-static {v1, v2}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object v1

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

    move-result v0

    if-eqz v0, :cond_5

    .line 445
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->o:Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;

    sget v1, Lcom/moji/newliveview/R$array;->copy_and_delete:I

    invoke-static {v1}, Lcom/moji/tool/DeviceTool;->b(I)[Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, p1, v1, p2}, Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;->a(Landroid/view/View;[Ljava/lang/String;Ljava/lang/Object;)V

    goto :goto_0

    .line 447
    :cond_5
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->o:Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;

    sget v1, Lcom/moji/newliveview/R$array;->reply_and_copy:I

    invoke-static {v1}, Lcom/moji/tool/DeviceTool;->b(I)[Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, p1, v1, p2}, Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;->a(Landroid/view/View;[Ljava/lang/String;Ljava/lang/Object;)V

    goto :goto_0

    .line 452
    :cond_6
    invoke-interface {p2}, Lcom/moji/http/snsforum/ILiveViewComment;->getSnsId()J

    move-result-wide v0

    invoke-static {v0, v1}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object v0

    const-string v1, ""

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

    move-result v0

    if-eqz v0, :cond_7

    .line 453
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->o:Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;

    sget v1, Lcom/moji/newliveview/R$array;->copy_and_delete:I

    invoke-static {v1}, Lcom/moji/tool/DeviceTool;->b(I)[Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, p1, v1, p2}, Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;->a(Landroid/view/View;[Ljava/lang/String;Ljava/lang/Object;)V

    goto :goto_0

    .line 455
    :cond_7
    iget-object v0, p0, Lcom/moji/newliveview/subject/ui/SubjectActivity;->o:Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;

    sget v1, Lcom/moji/newliveview/R$array;->reply_and_copy:I

    invoke-static {v1}, Lcom/moji/tool/DeviceTool;->b(I)[Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, p1, v1, p2}, Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;->a(Landroid/view/View;[Ljava/lang/String;Ljava/lang/Object;)V

    :cond_8
    :goto_0
    return-void
.end method
