.class public Lcom/moji/user/homepage/CurrentMorePictureActivity;
.super Lcom/moji/newliveview/base/BaseLiveViewActivity;
.source "CurrentMorePictureActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Lcom/moji/user/homepage/presenter/CurrentMothPicturePresenter$CurrentMothPictureCallBack;


# static fields
.field public static SNS_ID:Ljava/lang/String; = "sns_id"

.field public static TITLE_NAME:Ljava/lang/String; = "title_name"

.field public static YEAR_MONTH:Ljava/lang/String; = "year_month"


# instance fields
.field b:Landroid/view/animation/TranslateAnimation;

.field c:Landroid/view/animation/TranslateAnimation;

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

.field private j:Lcom/moji/titlebar/MJTitleBar$ActionText;

.field private k:Ljava/lang/String;

.field private l:Lcom/moji/user/homepage/PerMothPictureAdapter;

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

.field public mSnsId:J

.field public mYearMonth:Ljava/lang/String;

.field private n:Lcom/moji/user/homepage/presenter/CurrentMothPicturePresenter;

.field private o:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Lcom/moji/http/snsforum/entity/UserPhotoListResult$PicItem;",
            ">;"
        }
    .end annotation
.end field

.field private p:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Lcom/moji/http/snsforum/entity/UserPhotoListResult$PicItem;",
            ">;"
        }
    .end annotation
.end field

.field private q:Landroid/widget/LinearLayout;

.field private r:J


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

    return-void
.end method

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

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

    return-void
.end method

.method static synthetic a(Lcom/moji/user/homepage/CurrentMorePictureActivity;)Lcom/moji/user/homepage/PerMothPictureAdapter;
    .locals 0

    .line 40
    iget-object p0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->l:Lcom/moji/user/homepage/PerMothPictureAdapter;

    return-object p0
.end method

.method static synthetic a(Lcom/moji/user/homepage/CurrentMorePictureActivity;Ljava/util/ArrayList;)Ljava/util/ArrayList;
    .locals 0

    .line 40
    iput-object p1, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->p:Ljava/util/ArrayList;

    return-object p1
.end method

.method private a(Ljava/util/ArrayList;)Ljava/util/ArrayList;
    .locals 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList<",
            "Lcom/moji/http/snsforum/entity/UserPhotoListResult$PicItem;",
            ">;)",
            "Ljava/util/ArrayList<",
            "Lcom/moji/http/snsforum/entity/ThumbPictureItem;",
            ">;"
        }
    .end annotation

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

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

    .line 227
    invoke-virtual {p1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object p1

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

    move-result v1

    if-eqz v1, :cond_0

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

    move-result-object v1

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

    .line 228
    new-instance v2, Lcom/moji/http/snsforum/entity/ThumbPictureItem;

    invoke-direct {v2}, Lcom/moji/http/snsforum/entity/ThumbPictureItem;-><init>()V

    .line 229
    invoke-interface {v1}, Lcom/moji/http/snsforum/entity/IPicture;->id()J

    move-result-wide v3

    iput-wide v3, v2, Lcom/moji/http/snsforum/entity/ThumbPictureItem;->id:J

    .line 230
    invoke-interface {v1}, Lcom/moji/http/snsforum/entity/IPicture;->url()Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/moji/http/snsforum/entity/ThumbPictureItem;->url:Ljava/lang/String;

    .line 231
    invoke-interface {v1}, Lcom/moji/http/snsforum/entity/IPicture;->width()I

    move-result v3

    iput v3, v2, Lcom/moji/http/snsforum/entity/ThumbPictureItem;->width:I

    .line 232
    invoke-interface {v1}, Lcom/moji/http/snsforum/entity/IPicture;->height()I

    move-result v1

    iput v1, v2, Lcom/moji/http/snsforum/entity/ThumbPictureItem;->height:I

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

    goto :goto_0

    :cond_0
    return-object v0
.end method

.method private a(ILjava/util/ArrayList;)V
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I",
            "Ljava/util/ArrayList<",
            "Lcom/moji/http/snsforum/entity/ThumbPictureItem;",
            ">;)V"
        }
    .end annotation

    .line 239
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/moji/newliveview/detail/PictureDetailActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

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

    const/4 v2, 0x5

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

    const-string v2, "extra_data_thumb_picture_list"

    .line 241
    invoke-virtual {v1, v2, p2}, Landroid/os/Bundle;->putParcelableArrayList(Ljava/lang/String;Ljava/util/ArrayList;)V

    const-string p2, "extra_data_target_position"

    .line 242
    invoke-virtual {v1, p2, p1}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    .line 243
    invoke-virtual {v0, v1}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;

    .line 244
    invoke-virtual {p0, v0}, Lcom/moji/user/homepage/CurrentMorePictureActivity;->startActivity(Landroid/content/Intent;)V

    .line 245
    sget p1, Lcom/moji/user/R$anim;->activity_open_right_in:I

    sget p2, Lcom/moji/user/R$anim;->activity_open_right_out:I

    invoke-virtual {p0, p1, p2}, Lcom/moji/user/homepage/CurrentMorePictureActivity;->overridePendingTransition(II)V

    return-void
.end method

.method static synthetic a(Lcom/moji/user/homepage/CurrentMorePictureActivity;ILjava/util/ArrayList;)V
    .locals 0

    .line 40
    invoke-direct {p0, p1, p2}, Lcom/moji/user/homepage/CurrentMorePictureActivity;->a(ILjava/util/ArrayList;)V

    return-void
.end method

.method static synthetic b(Lcom/moji/user/homepage/CurrentMorePictureActivity;Ljava/util/ArrayList;)Ljava/util/ArrayList;
    .locals 0

    .line 40
    invoke-direct {p0, p1}, Lcom/moji/user/homepage/CurrentMorePictureActivity;->a(Ljava/util/ArrayList;)Ljava/util/ArrayList;

    move-result-object p0

    return-object p0
.end method

.method static synthetic b(Lcom/moji/user/homepage/CurrentMorePictureActivity;)V
    .locals 0

    .line 40
    invoke-direct {p0}, Lcom/moji/user/homepage/CurrentMorePictureActivity;->j()V

    return-void
.end method

.method static synthetic c(Lcom/moji/user/homepage/CurrentMorePictureActivity;)V
    .locals 0

    .line 40
    invoke-direct {p0}, Lcom/moji/user/homepage/CurrentMorePictureActivity;->k()V

    return-void
.end method

.method static synthetic d(Lcom/moji/user/homepage/CurrentMorePictureActivity;)Lcom/moji/titlebar/MJTitleBar;
    .locals 0

    .line 40
    iget-object p0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->i:Lcom/moji/titlebar/MJTitleBar;

    return-object p0
.end method

.method static synthetic e(Lcom/moji/user/homepage/CurrentMorePictureActivity;)Lcom/moji/user/homepage/presenter/CurrentMothPicturePresenter;
    .locals 0

    .line 40
    iget-object p0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->n:Lcom/moji/user/homepage/presenter/CurrentMothPicturePresenter;

    return-object p0
.end method

.method static synthetic f(Lcom/moji/user/homepage/CurrentMorePictureActivity;)Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;
    .locals 0

    .line 40
    iget-object p0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->a:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    return-object p0
.end method

.method static synthetic g(Lcom/moji/user/homepage/CurrentMorePictureActivity;)Ljava/util/ArrayList;
    .locals 0

    .line 40
    iget-object p0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->p:Ljava/util/ArrayList;

    return-object p0
.end method

.method static synthetic h(Lcom/moji/user/homepage/CurrentMorePictureActivity;)Ljava/util/ArrayList;
    .locals 0

    .line 40
    iget-object p0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->o:Ljava/util/ArrayList;

    return-object p0
.end method

.method static synthetic i(Lcom/moji/user/homepage/CurrentMorePictureActivity;)Landroid/widget/LinearLayout;
    .locals 0

    .line 40
    iget-object p0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->q:Landroid/widget/LinearLayout;

    return-object p0
.end method

.method private j()V
    .locals 2

    .line 170
    invoke-direct {p0}, Lcom/moji/user/homepage/CurrentMorePictureActivity;->l()V

    .line 171
    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->i:Lcom/moji/titlebar/MJTitleBar;

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

    .line 172
    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->i:Lcom/moji/titlebar/MJTitleBar;

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

    .line 173
    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->j:Lcom/moji/titlebar/MJTitleBar$ActionText;

    sget v1, Lcom/moji/user/R$string;->edit:I

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

    .line 174
    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->i:Lcom/moji/titlebar/MJTitleBar;

    iget-object v1, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->j:Lcom/moji/titlebar/MJTitleBar$ActionText;

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

    .line 175
    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->l:Lcom/moji/user/homepage/PerMothPictureAdapter;

    invoke-virtual {v0}, Lcom/moji/user/homepage/PerMothPictureAdapter;->d()V

    .line 176
    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->p:Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    .line 177
    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->p:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    .line 179
    :cond_0
    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->i:Lcom/moji/titlebar/MJTitleBar;

    iget-object v1, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->k:Ljava/lang/String;

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

    return-void
.end method

.method private k()V
    .locals 3

    .line 250
    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->b:Landroid/view/animation/TranslateAnimation;

    if-nez v0, :cond_0

    .line 251
    new-instance v0, Landroid/view/animation/TranslateAnimation;

    const/high16 v1, 0x423a0000    # 46.5f

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

    move-result v1

    int-to-float v1, v1

    const/4 v2, 0x0

    invoke-direct {v0, v2, v2, v1, v2}, Landroid/view/animation/TranslateAnimation;-><init>(FFFF)V

    iput-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->b:Landroid/view/animation/TranslateAnimation;

    .line 252
    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->b:Landroid/view/animation/TranslateAnimation;

    const-wide/16 v1, 0x1f4

    invoke-virtual {v0, v1, v2}, Landroid/view/animation/TranslateAnimation;->setDuration(J)V

    .line 253
    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->b:Landroid/view/animation/TranslateAnimation;

    new-instance v1, Lcom/moji/user/homepage/CurrentMorePictureActivity$5;

    invoke-direct {v1, p0}, Lcom/moji/user/homepage/CurrentMorePictureActivity$5;-><init>(Lcom/moji/user/homepage/CurrentMorePictureActivity;)V

    invoke-virtual {v0, v1}, Landroid/view/animation/TranslateAnimation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    .line 270
    :cond_0
    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->q:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->b:Landroid/view/animation/TranslateAnimation;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->startAnimation(Landroid/view/animation/Animation;)V

    return-void
.end method

.method private l()V
    .locals 3

    .line 275
    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->c:Landroid/view/animation/TranslateAnimation;

    if-nez v0, :cond_0

    .line 276
    new-instance v0, Landroid/view/animation/TranslateAnimation;

    const/high16 v1, 0x423a0000    # 46.5f

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

    move-result v1

    int-to-float v1, v1

    const/4 v2, 0x0

    invoke-direct {v0, v2, v2, v2, v1}, Landroid/view/animation/TranslateAnimation;-><init>(FFFF)V

    iput-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->c:Landroid/view/animation/TranslateAnimation;

    .line 277
    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->c:Landroid/view/animation/TranslateAnimation;

    const-wide/16 v1, 0x1f4

    invoke-virtual {v0, v1, v2}, Landroid/view/animation/TranslateAnimation;->setDuration(J)V

    .line 278
    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->c:Landroid/view/animation/TranslateAnimation;

    new-instance v1, Lcom/moji/user/homepage/CurrentMorePictureActivity$6;

    invoke-direct {v1, p0}, Lcom/moji/user/homepage/CurrentMorePictureActivity$6;-><init>(Lcom/moji/user/homepage/CurrentMorePictureActivity;)V

    invoke-virtual {v0, v1}, Landroid/view/animation/TranslateAnimation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    .line 295
    :cond_0
    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->q:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->c:Landroid/view/animation/TranslateAnimation;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->startAnimation(Landroid/view/animation/Animation;)V

    return-void
.end method


# virtual methods
.method public DeletePictureEvent(Lcom/moji/newliveview/detail/DeletePictureListEvent;)V
    .locals 1
    .annotation runtime Lorg/greenrobot/eventbus/Subscribe;
        a = .enum Lorg/greenrobot/eventbus/ThreadMode;->MAIN:Lorg/greenrobot/eventbus/ThreadMode;
    .end annotation

    .line 320
    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->n:Lcom/moji/user/homepage/presenter/CurrentMothPicturePresenter;

    if-eqz v0, :cond_0

    .line 321
    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->n:Lcom/moji/user/homepage/presenter/CurrentMothPicturePresenter;

    invoke-virtual {v0, p1}, Lcom/moji/user/homepage/presenter/CurrentMothPicturePresenter;->a(Lcom/moji/newliveview/detail/DeletePictureListEvent;)V

    :cond_0
    return-void
.end method

.method protected a()V
    .locals 4

    .line 60
    sget v0, Lcom/moji/user/R$layout;->activity_current_more_picture:I

    invoke-virtual {p0, v0}, Lcom/moji/user/homepage/CurrentMorePictureActivity;->setContentView(I)V

    .line 61
    invoke-virtual {p0}, Lcom/moji/user/homepage/CurrentMorePictureActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 63
    sget-object v1, Lcom/moji/user/homepage/CurrentMorePictureActivity;->TITLE_NAME:Ljava/lang/String;

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

    move-result-object v1

    iput-object v1, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->k:Ljava/lang/String;

    .line 64
    sget-object v1, Lcom/moji/user/homepage/CurrentMorePictureActivity;->YEAR_MONTH:Ljava/lang/String;

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

    move-result-object v1

    iput-object v1, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->mYearMonth:Ljava/lang/String;

    .line 65
    sget-object v1, Lcom/moji/user/homepage/CurrentMorePictureActivity;->SNS_ID:Ljava/lang/String;

    const-wide/16 v2, 0x0

    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/user/homepage/CurrentMorePictureActivity;->mSnsId:J

    :cond_0
    return-void
.end method

.method protected b()V
    .locals 4

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

    move-result-object v0

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

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

    invoke-virtual {p0, v0}, Lcom/moji/user/homepage/CurrentMorePictureActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

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

    iput-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->i:Lcom/moji/titlebar/MJTitleBar;

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

    invoke-virtual {p0, v0}, Lcom/moji/user/homepage/CurrentMorePictureActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

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

    iput-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->a:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    .line 74
    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->a:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

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

    .line 75
    sget v0, Lcom/moji/user/R$id;->ll_delete_layout:I

    invoke-virtual {p0, v0}, Lcom/moji/user/homepage/CurrentMorePictureActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->q:Landroid/widget/LinearLayout;

    .line 76
    sget v0, Lcom/moji/user/R$id;->rv:I

    invoke-virtual {p0, v0}, Lcom/moji/user/homepage/CurrentMorePictureActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

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

    iput-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->m:Landroid/support/v7/widget/RecyclerView;

    .line 77
    new-instance v0, Landroid/support/v7/widget/GridLayoutManager;

    const/4 v1, 0x3

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

    .line 78
    iget-object v1, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->m:Landroid/support/v7/widget/RecyclerView;

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

    .line 79
    new-instance v0, Lcom/moji/user/homepage/PerMothPictureAdapter;

    invoke-direct {v0, p0}, Lcom/moji/user/homepage/PerMothPictureAdapter;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->l:Lcom/moji/user/homepage/PerMothPictureAdapter;

    .line 80
    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->m:Landroid/support/v7/widget/RecyclerView;

    iget-object v1, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->l:Lcom/moji/user/homepage/PerMothPictureAdapter;

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

    .line 81
    new-instance v0, Lcom/moji/user/homepage/presenter/CurrentMothPicturePresenter;

    iget-object v1, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->mYearMonth:Ljava/lang/String;

    iget-wide v2, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->mSnsId:J

    invoke-direct {v0, p0, v1, v2, v3}, Lcom/moji/user/homepage/presenter/CurrentMothPicturePresenter;-><init>(Lcom/moji/user/homepage/presenter/CurrentMothPicturePresenter$CurrentMothPictureCallBack;Ljava/lang/String;J)V

    iput-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->n:Lcom/moji/user/homepage/presenter/CurrentMothPicturePresenter;

    .line 82
    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->n:Lcom/moji/user/homepage/presenter/CurrentMothPicturePresenter;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/moji/user/homepage/presenter/CurrentMothPicturePresenter;->a(Z)V

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

    iget-wide v1, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->mSnsId:J

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

    move-result-object v1

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

    move-result v0

    if-eqz v0, :cond_0

    .line 84
    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->i:Lcom/moji/titlebar/MJTitleBar;

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

    goto :goto_0

    .line 86
    :cond_0
    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->i:Lcom/moji/titlebar/MJTitleBar;

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

    :goto_0
    return-void
.end method

.method protected c()V
    .locals 2

    .line 92
    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->i:Lcom/moji/titlebar/MJTitleBar;

    iget-object v1, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->k:Ljava/lang/String;

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

    .line 93
    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->i:Lcom/moji/titlebar/MJTitleBar;

    const v1, -0xbd6b16

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

    .line 94
    new-instance v0, Lcom/moji/user/homepage/CurrentMorePictureActivity$1;

    sget v1, Lcom/moji/user/R$string;->edit:I

    invoke-direct {v0, p0, v1}, Lcom/moji/user/homepage/CurrentMorePictureActivity$1;-><init>(Lcom/moji/user/homepage/CurrentMorePictureActivity;I)V

    iput-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->j:Lcom/moji/titlebar/MJTitleBar$ActionText;

    .line 111
    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->i:Lcom/moji/titlebar/MJTitleBar;

    iget-object v1, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->j:Lcom/moji/titlebar/MJTitleBar$ActionText;

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

    .line 112
    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->m:Landroid/support/v7/widget/RecyclerView;

    new-instance v1, Lcom/moji/user/homepage/CurrentMorePictureActivity$2;

    invoke-direct {v1, p0}, Lcom/moji/user/homepage/CurrentMorePictureActivity$2;-><init>(Lcom/moji/user/homepage/CurrentMorePictureActivity;)V

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

    .line 124
    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->a:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    new-instance v1, Lcom/moji/user/homepage/CurrentMorePictureActivity$3;

    invoke-direct {v1, p0}, Lcom/moji/user/homepage/CurrentMorePictureActivity$3;-><init>(Lcom/moji/user/homepage/CurrentMorePictureActivity;)V

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

    .line 131
    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->l:Lcom/moji/user/homepage/PerMothPictureAdapter;

    new-instance v1, Lcom/moji/user/homepage/CurrentMorePictureActivity$4;

    invoke-direct {v1, p0}, Lcom/moji/user/homepage/CurrentMorePictureActivity$4;-><init>(Lcom/moji/user/homepage/CurrentMorePictureActivity;)V

    invoke-virtual {v0, v1}, Lcom/moji/user/homepage/PerMothPictureAdapter;->a(Lcom/moji/newliveview/base/AbsRecyclerAdapter$OnItemClickListener;)V

    .line 155
    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->q:Landroid/widget/LinearLayout;

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

    return-void
.end method

.method public fillData(Ljava/util/ArrayList;Ljava/util/ArrayList;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList<",
            "Lcom/moji/http/snsforum/entity/UserPhotoListResult$PicItem;",
            ">;",
            "Ljava/util/ArrayList<",
            "Lcom/moji/http/snsforum/entity/UserPhotoListResult$PicItem;",
            ">;)V"
        }
    .end annotation

    .line 184
    iput-object p2, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->o:Ljava/util/ArrayList;

    .line 185
    iget-object p2, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->l:Lcom/moji/user/homepage/PerMothPictureAdapter;

    invoke-virtual {p2, p1}, Lcom/moji/user/homepage/PerMothPictureAdapter;->a(Ljava/util/ArrayList;)V

    return-void
.end method

.method public loadDataComplete(Z)V
    .locals 6

    if-eqz p1, :cond_1

    .line 191
    iget-object p1, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->l:Lcom/moji/user/homepage/PerMothPictureAdapter;

    invoke-virtual {p1}, Lcom/moji/user/homepage/PerMothPictureAdapter;->a()I

    move-result p1

    if-nez p1, :cond_0

    .line 192
    iget-object p1, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->i:Lcom/moji/titlebar/MJTitleBar;

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

    .line 193
    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->a:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    sget v1, Lcom/moji/user/R$drawable;->view_icon_empty_no_picture:I

    sget p1, Lcom/moji/user/R$string;->regrettably:I

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

    move-result-object v2

    sget p1, Lcom/moji/user/R$string;->no_uploaded_pic:I

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

    move-result-object v3

    const/4 v4, 0x0

    const/4 v5, 0x0

    .line 193
    invoke-virtual/range {v0 .. v5}, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;->a(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/view/View$OnClickListener;)V

    goto :goto_0

    .line 196
    :cond_0
    iget-object p1, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->a:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

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

    goto :goto_0

    .line 199
    :cond_1
    iget-object p1, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->l:Lcom/moji/user/homepage/PerMothPictureAdapter;

    invoke-virtual {p1}, Lcom/moji/user/homepage/PerMothPictureAdapter;->a()I

    move-result p1

    if-eqz p1, :cond_2

    .line 201
    iget-object p1, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->l:Lcom/moji/user/homepage/PerMothPictureAdapter;

    const/4 v0, 0x2

    iput v0, p1, Lcom/moji/user/homepage/PerMothPictureAdapter;->d:I

    .line 202
    iget-object p1, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->l:Lcom/moji/user/homepage/PerMothPictureAdapter;

    invoke-virtual {p1}, Lcom/moji/user/homepage/PerMothPictureAdapter;->c()V

    goto :goto_0

    .line 204
    :cond_2
    invoke-virtual {p0}, Lcom/moji/user/homepage/CurrentMorePictureActivity;->e()V

    :goto_0
    return-void
.end method

.method public noMoreData(Z)V
    .locals 1

    if-eqz p1, :cond_0

    .line 212
    iget-object p1, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->l:Lcom/moji/user/homepage/PerMothPictureAdapter;

    const/4 v0, 0x4

    iput v0, p1, Lcom/moji/user/homepage/PerMothPictureAdapter;->d:I

    goto :goto_0

    .line 214
    :cond_0
    iget-object p1, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->l:Lcom/moji/user/homepage/PerMothPictureAdapter;

    const/4 v0, 0x1

    iput v0, p1, Lcom/moji/user/homepage/PerMothPictureAdapter;->d:I

    :goto_0
    return-void
.end method

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

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

    move-result v0

    if-nez v0, :cond_0

    return-void

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

    move-result p1

    .line 164
    sget v0, Lcom/moji/user/R$id;->ll_delete_layout:I

    if-ne p1, v0, :cond_1

    .line 165
    iget-object p1, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->n:Lcom/moji/user/homepage/presenter/CurrentMothPicturePresenter;

    iget-object v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->p:Ljava/util/ArrayList;

    invoke-virtual {p1, v0}, Lcom/moji/user/homepage/presenter/CurrentMothPicturePresenter;->a(Ljava/util/ArrayList;)V

    :cond_1
    return-void
.end method

.method protected onDestroy()V
    .locals 1

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

    .line 314
    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 protected onPause()V
    .locals 5

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

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

    move-result-wide v0

    iget-wide v2, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->r:J

    sub-long/2addr v0, v2

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

    move-result-object v2

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

    const-string 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;

    return-void
.end method

.method protected onResume()V
    .locals 2

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

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

    move-result-wide v0

    iput-wide v0, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->r:J

    return-void
.end method

.method public removeSelectedPictureSuccess(Z)V
    .locals 1

    .line 220
    iget-object p1, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->l:Lcom/moji/user/homepage/PerMothPictureAdapter;

    const/4 v0, 0x0

    iput-boolean v0, p1, Lcom/moji/user/homepage/PerMothPictureAdapter;->e:Z

    .line 221
    iget-object p1, p0, Lcom/moji/user/homepage/CurrentMorePictureActivity;->l:Lcom/moji/user/homepage/PerMothPictureAdapter;

    invoke-virtual {p1}, Lcom/moji/user/homepage/PerMothPictureAdapter;->e()V

    .line 222
    invoke-direct {p0}, Lcom/moji/user/homepage/CurrentMorePictureActivity;->j()V

    return-void
.end method
