.class Lcom/moji/mjweather/typhoon/PreViewImageActivity$3;
.super Landroid/animation/AnimatorListenerAdapter;
.source "PreViewImageActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/typhoon/PreViewImageActivity;->c()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/moji/mjweather/typhoon/PreViewImageActivity;


# direct methods
.method constructor <init>(Lcom/moji/mjweather/typhoon/PreViewImageActivity;)V
    .locals 0

    .line 147
    iput-object p1, p0, Lcom/moji/mjweather/typhoon/PreViewImageActivity$3;->a:Lcom/moji/mjweather/typhoon/PreViewImageActivity;

    invoke-direct {p0}, Landroid/animation/AnimatorListenerAdapter;-><init>()V

    return-void
.end method


# virtual methods
.method public onAnimationEnd(Landroid/animation/Animator;)V
    .locals 4

    .line 150
    iget-object p1, p0, Lcom/moji/mjweather/typhoon/PreViewImageActivity$3;->a:Lcom/moji/mjweather/typhoon/PreViewImageActivity;

    invoke-static {p1}, Lcom/moji/mjweather/typhoon/PreViewImageActivity;->g(Lcom/moji/mjweather/typhoon/PreViewImageActivity;)Landroid/widget/ProgressBar;

    move-result-object p1

    const/4 v0, 0x0

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

    .line 151
    iget-object p1, p0, Lcom/moji/mjweather/typhoon/PreViewImageActivity$3;->a:Lcom/moji/mjweather/typhoon/PreViewImageActivity;

    new-instance v0, Lcom/moji/mjweather/typhoon/PreViewImageAdapter;

    iget-object v1, p0, Lcom/moji/mjweather/typhoon/PreViewImageActivity$3;->a:Lcom/moji/mjweather/typhoon/PreViewImageActivity;

    invoke-virtual {v1}, Lcom/moji/mjweather/typhoon/PreViewImageActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    iget-object v2, p0, Lcom/moji/mjweather/typhoon/PreViewImageActivity$3;->a:Lcom/moji/mjweather/typhoon/PreViewImageActivity;

    invoke-static {v2}, Lcom/moji/mjweather/typhoon/PreViewImageActivity;->a(Lcom/moji/mjweather/typhoon/PreViewImageActivity;)Ljava/util/ArrayList;

    move-result-object v2

    iget-object v3, p0, Lcom/moji/mjweather/typhoon/PreViewImageActivity$3;->a:Lcom/moji/mjweather/typhoon/PreViewImageActivity;

    invoke-static {v3}, Lcom/moji/mjweather/typhoon/PreViewImageActivity;->d(Lcom/moji/mjweather/typhoon/PreViewImageActivity;)I

    move-result v3

    invoke-direct {v0, v1, v2, v3}, Lcom/moji/mjweather/typhoon/PreViewImageAdapter;-><init>(Landroid/content/Context;Ljava/util/ArrayList;I)V

    invoke-static {p1, v0}, Lcom/moji/mjweather/typhoon/PreViewImageActivity;->a(Lcom/moji/mjweather/typhoon/PreViewImageActivity;Lcom/moji/mjweather/typhoon/PreViewImageAdapter;)Lcom/moji/mjweather/typhoon/PreViewImageAdapter;

    .line 152
    iget-object p1, p0, Lcom/moji/mjweather/typhoon/PreViewImageActivity$3;->a:Lcom/moji/mjweather/typhoon/PreViewImageActivity;

    invoke-static {p1}, Lcom/moji/mjweather/typhoon/PreViewImageActivity;->h(Lcom/moji/mjweather/typhoon/PreViewImageActivity;)Lcom/moji/mjweather/typhoon/PreViewImageAdapter;

    move-result-object p1

    iget-object v0, p0, Lcom/moji/mjweather/typhoon/PreViewImageActivity$3;->a:Lcom/moji/mjweather/typhoon/PreViewImageActivity;

    invoke-virtual {p1, v0}, Lcom/moji/mjweather/typhoon/PreViewImageAdapter;->a(Lcom/moji/mjweather/typhoon/PreViewImageAdapter$OnLoadFinishListener;)V

    .line 153
    iget-object p1, p0, Lcom/moji/mjweather/typhoon/PreViewImageActivity$3;->a:Lcom/moji/mjweather/typhoon/PreViewImageActivity;

    invoke-static {p1}, Lcom/moji/mjweather/typhoon/PreViewImageActivity;->i(Lcom/moji/mjweather/typhoon/PreViewImageActivity;)Landroid/support/v4/view/ViewPager;

    move-result-object p1

    iget-object v0, p0, Lcom/moji/mjweather/typhoon/PreViewImageActivity$3;->a:Lcom/moji/mjweather/typhoon/PreViewImageActivity;

    invoke-static {v0}, Lcom/moji/mjweather/typhoon/PreViewImageActivity;->h(Lcom/moji/mjweather/typhoon/PreViewImageActivity;)Lcom/moji/mjweather/typhoon/PreViewImageAdapter;

    move-result-object v0

    invoke-virtual {p1, v0}, Landroid/support/v4/view/ViewPager;->setAdapter(Landroid/support/v4/view/PagerAdapter;)V

    .line 154
    iget-object p1, p0, Lcom/moji/mjweather/typhoon/PreViewImageActivity$3;->a:Lcom/moji/mjweather/typhoon/PreViewImageActivity;

    invoke-static {p1}, Lcom/moji/mjweather/typhoon/PreViewImageActivity;->i(Lcom/moji/mjweather/typhoon/PreViewImageActivity;)Landroid/support/v4/view/ViewPager;

    move-result-object p1

    iget-object v0, p0, Lcom/moji/mjweather/typhoon/PreViewImageActivity$3;->a:Lcom/moji/mjweather/typhoon/PreViewImageActivity;

    invoke-static {v0}, Lcom/moji/mjweather/typhoon/PreViewImageActivity;->d(Lcom/moji/mjweather/typhoon/PreViewImageActivity;)I

    move-result v0

    invoke-virtual {p1, v0}, Landroid/support/v4/view/ViewPager;->setCurrentItem(I)V

    return-void
.end method
