.class public Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;
.super Lcom/moji/newliveview/base/BaseLiveViewFragment;
.source "LiveViewDynamicFragment.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$ShowInputListener;,
        Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$DynamicViewCallBackImpl;,
        Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$CellClickCallBackImpl;
    }
.end annotation


# instance fields
.field public e:I

.field private f:Landroid/view/View;

.field private g:Lcom/moji/newliveview/dynamic/presenter/DynamicPresenter;

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

.field private i:Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$CellClickCallBackImpl;

.field private j:Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$DynamicViewCallBackImpl;

.field private k:Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$ShowInputListener;

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

.field private m:Lcom/moji/swiperefreshlayout/SwipeRefreshLayout;

.field private n:Lcom/moji/http/snsforum/entity/PictureDynamic;

.field private o:Z

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

.field private q:Z


# direct methods
.method public constructor <init>()V
    .locals 1

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

    const/4 v0, 0x1

    .line 77
    iput-boolean v0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->o:Z

    return-void
.end method

.method static synthetic a(Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;Lcom/moji/newliveview/dynamic/FooterCell;)Lcom/moji/newliveview/dynamic/FooterCell;
    .locals 0

    .line 61
    iput-object p1, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->p:Lcom/moji/newliveview/dynamic/FooterCell;

    return-object p1
.end method

.method static synthetic a(Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$CellClickCallBackImpl;)Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$CellClickCallBackImpl;
    .locals 0

    .line 61
    iput-object p1, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->i:Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$CellClickCallBackImpl;

    return-object p1
.end method

.method public static a(ILcom/moji/http/snsforum/entity/PictureDynamic;)Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;
    .locals 3

    .line 87
    new-instance v0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;

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

    .line 88
    new-instance v1, Landroid/os/Bundle;

    invoke-direct {v1}, Landroid/os/Bundle;-><init>()V

    const-string v2, "type"

    .line 89
    invoke-virtual {v1, v2, p0}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    const-string p0, "dynamic"

    .line 90
    invoke-virtual {v1, p0, p1}, Landroid/os/Bundle;->putParcelable(Ljava/lang/String;Landroid/os/Parcelable;)V

    .line 91
    invoke-virtual {v0, v1}, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->setArguments(Landroid/os/Bundle;)V

    return-object v0
.end method

.method static synthetic a(Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;Ljava/lang/String;)V
    .locals 0

    .line 61
    invoke-direct {p0, p1}, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->a(Ljava/lang/String;)V

    return-void
.end method

.method private a(Ljava/lang/String;)V
    .locals 3

    .line 226
    iget v0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->e:I

    const/4 v1, 0x1

    if-ne v0, v1, :cond_0

    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_1

    .line 227
    :cond_0
    new-instance v0, Lcom/moji/multiplestatuslayout/FloatViewConfig$FloatViewBuild;

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

    move-result-object v2

    invoke-direct {v0, v2}, Lcom/moji/multiplestatuslayout/FloatViewConfig$FloatViewBuild;-><init>(Landroid/content/Context;)V

    .line 229
    invoke-virtual {v0, v1}, Lcom/moji/multiplestatuslayout/FloatViewConfig$FloatViewBuild;->a(Z)Lcom/moji/multiplestatuslayout/FloatViewConfig$FloatViewBuild;

    move-result-object v0

    const-wide/16 v1, 0x7d0

    .line 231
    invoke-virtual {v0, v1, v2}, Lcom/moji/multiplestatuslayout/FloatViewConfig$FloatViewBuild;->a(J)Lcom/moji/multiplestatuslayout/FloatViewConfig$FloatViewBuild;

    move-result-object v0

    new-instance v1, Landroid/graphics/drawable/ColorDrawable;

    sget v2, Lcom/moji/newliveview/R$color;->updata_view_background:I

    .line 233
    invoke-static {v2}, Lcom/moji/tool/DeviceTool;->e(I)I

    move-result v2

    invoke-direct {v1, v2}, Landroid/graphics/drawable/ColorDrawable;-><init>(I)V

    invoke-virtual {v0, v1}, Lcom/moji/multiplestatuslayout/FloatViewConfig$FloatViewBuild;->a(Landroid/graphics/drawable/Drawable;)Lcom/moji/multiplestatuslayout/FloatViewConfig$FloatViewBuild;

    move-result-object v0

    sget v1, Lcom/moji/newliveview/R$color;->update_text_color:I

    .line 235
    invoke-static {v1}, Lcom/moji/tool/DeviceTool;->e(I)I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/moji/multiplestatuslayout/FloatViewConfig$FloatViewBuild;->a(I)Lcom/moji/multiplestatuslayout/FloatViewConfig$FloatViewBuild;

    move-result-object v0

    .line 237
    invoke-virtual {v0, p1}, Lcom/moji/multiplestatuslayout/FloatViewConfig$FloatViewBuild;->a(Ljava/lang/String;)Lcom/moji/multiplestatuslayout/FloatViewConfig$FloatViewBuild;

    move-result-object p1

    .line 238
    invoke-virtual {p1}, Lcom/moji/multiplestatuslayout/FloatViewConfig$FloatViewBuild;->a()Lcom/moji/multiplestatuslayout/FloatViewConfig;

    move-result-object p1

    .line 239
    iget-object v0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->d:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

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

    .line 240
    iget-object p1, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->d:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    invoke-virtual {p1}, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;->getFloatTipView()Landroid/view/View;

    move-result-object p1

    .line 241
    new-instance v0, Landroid/widget/FrameLayout$LayoutParams;

    const/4 v1, -0x1

    const/high16 v2, 0x41c80000    # 25.0f

    invoke-static {v2}, Lcom/moji/tool/DeviceTool;->a(F)I

    move-result v2

    invoke-direct {v0, v1, v2}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V

    invoke-virtual {p1, v0}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    :cond_1
    return-void
.end method

.method static synthetic a(Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;)Z
    .locals 0

    .line 61
    iget-boolean p0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->q:Z

    return p0
.end method

.method static synthetic a(Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;Z)Z
    .locals 0

    .line 61
    iput-boolean p1, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->o:Z

    return p1
.end method

.method static synthetic b(Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;)Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;
    .locals 0

    .line 61
    iget-object p0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->d:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    return-object p0
.end method

.method static synthetic b(Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;Z)Z
    .locals 0

    .line 61
    iput-boolean p1, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->q:Z

    return p1
.end method

.method static synthetic c(Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;)Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$ShowInputListener;
    .locals 0

    .line 61
    iget-object p0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->k:Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$ShowInputListener;

    return-object p0
.end method

.method static synthetic d(Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;)Lcom/moji/newliveview/dynamic/presenter/DynamicPresenter;
    .locals 0

    .line 61
    iget-object p0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->g:Lcom/moji/newliveview/dynamic/presenter/DynamicPresenter;

    return-object p0
.end method

.method static synthetic e(Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;)Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;
    .locals 0

    .line 61
    iget-object p0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->d:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    return-object p0
.end method

.method private e()V
    .locals 2

    .line 112
    invoke-virtual {p0}, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->getArguments()Landroid/os/Bundle;

    move-result-object v0

    if-eqz v0, :cond_0

    const-string v1, "type"

    .line 114
    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I

    move-result v1

    iput v1, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->e:I

    const-string v1, "dynamic"

    .line 115
    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getParcelable(Ljava/lang/String;)Landroid/os/Parcelable;

    move-result-object v0

    check-cast v0, Lcom/moji/http/snsforum/entity/PictureDynamic;

    iput-object v0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->n:Lcom/moji/http/snsforum/entity/PictureDynamic;

    :cond_0
    return-void
.end method

.method static synthetic f(Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;)Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;
    .locals 0

    .line 61
    iget-object p0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->d:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    return-object p0
.end method

.method private f()V
    .locals 2

    .line 120
    iget-object v0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->f:Landroid/view/View;

    sget v1, Lcom/moji/newliveview/R$id;->status_layout:I

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

    move-result-object v0

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

    iput-object v0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->d:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    .line 121
    iget-object v0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->f:Landroid/view/View;

    sget v1, Lcom/moji/newliveview/R$id;->pull_fresh:I

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

    move-result-object v0

    check-cast v0, Lcom/moji/swiperefreshlayout/SwipeRefreshLayout;

    iput-object v0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->m:Lcom/moji/swiperefreshlayout/SwipeRefreshLayout;

    .line 122
    iget-object v0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->f:Landroid/view/View;

    sget v1, Lcom/moji/newliveview/R$id;->rv_dynamic:I

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

    move-result-object v0

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

    iput-object v0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->l:Landroid/support/v7/widget/RecyclerView;

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

    invoke-virtual {p0}, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

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

    const/4 v1, 0x1

    .line 124
    invoke-virtual {v0, v1}, Landroid/support/v7/widget/LinearLayoutManager;->b(I)V

    .line 125
    iget-object v1, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->l:Landroid/support/v7/widget/RecyclerView;

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

    .line 126
    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/dynamic/LiveViewDynamicFragment;->h:Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;

    .line 127
    iget-object v0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->l:Landroid/support/v7/widget/RecyclerView;

    iget-object v1, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->h:Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;

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

    .line 128
    new-instance v0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$DynamicViewCallBackImpl;

    invoke-direct {v0, p0}, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$DynamicViewCallBackImpl;-><init>(Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;)V

    iput-object v0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->j:Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$DynamicViewCallBackImpl;

    .line 129
    new-instance v0, Lcom/moji/newliveview/dynamic/presenter/DynamicPresenter;

    iget-object v1, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->j:Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$DynamicViewCallBackImpl;

    invoke-direct {v0, v1}, Lcom/moji/newliveview/dynamic/presenter/DynamicPresenter;-><init>(Lcom/moji/newliveview/dynamic/presenter/DynamicPresenter$DynamicViewCallBack;)V

    iput-object v0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->g:Lcom/moji/newliveview/dynamic/presenter/DynamicPresenter;

    return-void
.end method

.method static synthetic g(Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;)Lcom/moji/newliveview/dynamic/FooterCell;
    .locals 0

    .line 61
    iget-object p0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->p:Lcom/moji/newliveview/dynamic/FooterCell;

    return-object p0
.end method

.method private g()V
    .locals 2

    .line 133
    iget-object v0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->l:Landroid/support/v7/widget/RecyclerView;

    new-instance v1, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$1;

    invoke-direct {v1, p0}, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$1;-><init>(Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;)V

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

    .line 144
    iget-object v0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->m:Lcom/moji/swiperefreshlayout/SwipeRefreshLayout;

    new-instance v1, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$2;

    invoke-direct {v1, p0}, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$2;-><init>(Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;)V

    invoke-virtual {v0, v1}, Lcom/moji/swiperefreshlayout/SwipeRefreshLayout;->setOnRefreshListener(Lcom/moji/swiperefreshlayout/SwipeRefreshLayout$OnRefreshListener;)V

    .line 150
    iget-object v0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->d:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    new-instance v1, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$3;

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

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

    return-void
.end method

.method static synthetic h(Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;)Lcom/moji/http/snsforum/entity/PictureDynamic;
    .locals 0

    .line 61
    iget-object p0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->n:Lcom/moji/http/snsforum/entity/PictureDynamic;

    return-object p0
.end method

.method private h()V
    .locals 1

    .line 164
    iget-object v0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->d:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

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

    const/4 v0, 0x1

    .line 165
    invoke-virtual {p0, v0}, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->a(Z)V

    return-void
.end method

.method static synthetic i(Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;)Z
    .locals 0

    .line 61
    iget-boolean p0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->o:Z

    return p0
.end method

.method static synthetic j(Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;)Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$CellClickCallBackImpl;
    .locals 0

    .line 61
    iget-object p0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->i:Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$CellClickCallBackImpl;

    return-object p0
.end method

.method static synthetic k(Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;)Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;
    .locals 0

    .line 61
    iget-object p0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->h:Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;

    return-object p0
.end method

.method static synthetic l(Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;)Lcom/moji/swiperefreshlayout/SwipeRefreshLayout;
    .locals 0

    .line 61
    iget-object p0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->m:Lcom/moji/swiperefreshlayout/SwipeRefreshLayout;

    return-object p0
.end method

.method static synthetic m(Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;)Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;
    .locals 0

    .line 61
    iget-object p0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->d:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    return-object p0
.end method

.method static synthetic n(Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;)V
    .locals 0

    .line 61
    invoke-virtual {p0}, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->d()V

    return-void
.end method


# virtual methods
.method public a(Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$ShowInputListener;)V
    .locals 0

    .line 108
    iput-object p1, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->k:Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$ShowInputListener;

    return-void
.end method

.method public a(Ljava/lang/String;Lcom/moji/http/snsforum/entity/DynamicComment;)V
    .locals 3

    .line 173
    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-nez v0, :cond_0

    .line 174
    iget-object v0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->g:Lcom/moji/newliveview/dynamic/presenter/DynamicPresenter;

    invoke-static {}, Lcom/moji/newliveview/base/utils/GlobalUtils;->b()I

    move-result v1

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

    move-result-object v2

    invoke-virtual {v0, p1, p2, v1, v2}, Lcom/moji/newliveview/dynamic/presenter/DynamicPresenter;->a(Ljava/lang/String;Lcom/moji/http/snsforum/entity/DynamicComment;ILjava/lang/String;)V

    goto :goto_0

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

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

    :goto_0
    return-void
.end method

.method public a(Z)V
    .locals 1

    .line 169
    iget-object v0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->g:Lcom/moji/newliveview/dynamic/presenter/DynamicPresenter;

    invoke-virtual {v0, p1}, Lcom/moji/newliveview/dynamic/presenter/DynamicPresenter;->a(Z)V

    return-void
.end method

.method public addCommentEvent(Lcom/moji/newliveview/dynamic/EventDynamicComment;)V
    .locals 5
    .annotation runtime Lorg/greenrobot/eventbus/Subscribe;
        a = .enum Lorg/greenrobot/eventbus/ThreadMode;->MAIN:Lorg/greenrobot/eventbus/ThreadMode;
    .end annotation

    .line 193
    iget-boolean v0, p1, Lcom/moji/newliveview/dynamic/EventDynamicComment;->a:Z

    if-eqz v0, :cond_1

    .line 194
    iget-boolean v0, p1, Lcom/moji/newliveview/dynamic/EventDynamicComment;->c:Z

    if-eqz v0, :cond_0

    .line 195
    iget-object v0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->j:Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$DynamicViewCallBackImpl;

    iget-object p1, p1, Lcom/moji/newliveview/dynamic/EventDynamicComment;->b:Lcom/moji/http/snsforum/entity/DynamicComment;

    iget-wide v1, p1, Lcom/moji/http/snsforum/entity/DynamicComment;->dynamic_id:J

    const/4 p1, 0x0

    invoke-virtual {v0, v1, v2, p1}, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$DynamicViewCallBackImpl;->a(JLcom/moji/http/snsforum/entity/DynamicComment;)V

    goto :goto_0

    .line 197
    :cond_0
    iget-object v0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->j:Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$DynamicViewCallBackImpl;

    iget-object v1, p1, Lcom/moji/newliveview/dynamic/EventDynamicComment;->b:Lcom/moji/http/snsforum/entity/DynamicComment;

    iget-wide v1, v1, Lcom/moji/http/snsforum/entity/DynamicComment;->dynamic_id:J

    iget-object p1, p1, Lcom/moji/newliveview/dynamic/EventDynamicComment;->b:Lcom/moji/http/snsforum/entity/DynamicComment;

    invoke-virtual {v0, v1, v2, p1}, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$DynamicViewCallBackImpl;->a(JLcom/moji/http/snsforum/entity/DynamicComment;)V

    goto :goto_0

    .line 200
    :cond_1
    iget-boolean v0, p1, Lcom/moji/newliveview/dynamic/EventDynamicComment;->d:Z

    if-eqz v0, :cond_2

    .line 201
    iget-object v0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->j:Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$DynamicViewCallBackImpl;

    iget-object p1, p1, Lcom/moji/newliveview/dynamic/EventDynamicComment;->b:Lcom/moji/http/snsforum/entity/DynamicComment;

    iget-wide v1, p1, Lcom/moji/http/snsforum/entity/DynamicComment;->dynamic_id:J

    const-wide/16 v3, -0x1

    invoke-virtual {v0, v1, v2, v3, v4}, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$DynamicViewCallBackImpl;->a(JJ)V

    goto :goto_0

    .line 203
    :cond_2
    iget-object v0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->j:Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$DynamicViewCallBackImpl;

    iget-object v1, p1, Lcom/moji/newliveview/dynamic/EventDynamicComment;->b:Lcom/moji/http/snsforum/entity/DynamicComment;

    iget-wide v1, v1, Lcom/moji/http/snsforum/entity/DynamicComment;->dynamic_id:J

    iget-object p1, p1, Lcom/moji/newliveview/dynamic/EventDynamicComment;->b:Lcom/moji/http/snsforum/entity/DynamicComment;

    invoke-virtual {p1}, Lcom/moji/http/snsforum/entity/DynamicComment;->getCommentId()J

    move-result-wide v3

    invoke-virtual {v0, v1, v2, v3, v4}, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$DynamicViewCallBackImpl;->a(JJ)V

    :goto_0
    return-void
.end method

.method public addPraiseEvent(Lcom/moji/newliveview/dynamic/AddPraiseEvent;)V
    .locals 3
    .annotation runtime Lorg/greenrobot/eventbus/Subscribe;
        a = .enum Lorg/greenrobot/eventbus/ThreadMode;->MAIN:Lorg/greenrobot/eventbus/ThreadMode;
    .end annotation

    .line 209
    iget-object v0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->j:Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$DynamicViewCallBackImpl;

    iget-wide v1, p1, Lcom/moji/newliveview/dynamic/AddPraiseEvent;->a:J

    invoke-virtual {v0, v1, v2}, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$DynamicViewCallBackImpl;->a(J)V

    return-void
.end method

.method public onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 1
    .param p2    # Landroid/view/ViewGroup;
        .annotation build Landroid/support/annotation/Nullable;
        .end annotation
    .end param
    .param p3    # Landroid/os/Bundle;
        .annotation build Landroid/support/annotation/Nullable;
        .end annotation
    .end param
    .annotation build Landroid/support/annotation/Nullable;
    .end annotation

    .line 98
    sget p3, Lcom/moji/newliveview/R$layout;->fragment_liveview_dynamic:I

    const/4 v0, 0x0

    invoke-virtual {p1, p3, p2, v0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object p1

    iput-object p1, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->f:Landroid/view/View;

    .line 99
    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

    .line 100
    invoke-direct {p0}, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->e()V

    .line 101
    invoke-direct {p0}, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->f()V

    .line 102
    invoke-direct {p0}, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->g()V

    .line 103
    invoke-direct {p0}, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->h()V

    .line 104
    iget-object p1, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->f:Landroid/view/View;

    return-object p1
.end method

.method public onDestroy()V
    .locals 1

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

    .line 184
    iget-object v0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->j:Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$DynamicViewCallBackImpl;

    if-eqz v0, :cond_0

    .line 185
    iget-object v0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->j:Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$DynamicViewCallBackImpl;

    invoke-virtual {v0}, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$DynamicViewCallBackImpl;->a()V

    .line 187
    :cond_0
    iget-object v0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->h:Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;

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

    .line 188
    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

    return-void
.end method

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

    .line 214
    iget-object v0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->j:Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$DynamicViewCallBackImpl;

    iget-object v0, v0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$DynamicViewCallBackImpl;->a:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v0

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

    move-result v1

    if-eqz v1, :cond_1

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

    move-result-object v1

    check-cast v1, Lcom/moji/http/snsforum/entity/PictureDynamic;

    .line 215
    iget-wide v2, p1, Lcom/moji/newliveview/rank/AttentionEvent;->a:J

    iget-wide v4, v1, Lcom/moji/http/snsforum/entity/PictureDynamic;->sns_id:J

    cmp-long v6, v2, v4

    if-nez v6, :cond_0

    .line 216
    iget-boolean v2, p1, Lcom/moji/newliveview/rank/AttentionEvent;->b:Z

    iput-boolean v2, v1, Lcom/moji/http/snsforum/entity/PictureDynamic;->is_concern:Z

    .line 217
    iget-object v1, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->h:Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;

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

    goto :goto_0

    .line 220
    :cond_1
    iget-object v0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->j:Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$DynamicViewCallBackImpl;

    iget-object v0, v0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$DynamicViewCallBackImpl;->b:Lcom/moji/newliveview/dynamic/InterestAreaCell;

    if-eqz v0, :cond_2

    .line 221
    iget-object v0, p0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment;->j:Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$DynamicViewCallBackImpl;

    iget-object v0, v0, Lcom/moji/newliveview/dynamic/LiveViewDynamicFragment$DynamicViewCallBackImpl;->b:Lcom/moji/newliveview/dynamic/InterestAreaCell;

    iget-wide v1, p1, Lcom/moji/newliveview/rank/AttentionEvent;->a:J

    iget-boolean p1, p1, Lcom/moji/newliveview/rank/AttentionEvent;->b:Z

    invoke-virtual {v0, v1, v2, p1}, Lcom/moji/newliveview/dynamic/InterestAreaCell;->a(JZ)V

    :cond_2
    return-void
.end method

.method protected x_()V
    .locals 0

    return-void
.end method
