SmartRefreshLayout$8$2.smali

.class Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$8$2;
.super Landroid/animation/AnimatorListenerAdapter;
.source "SmartRefreshLayout.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$8;->run()V
.end annotation

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


# instance fields
.field final synthetic this$1:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$8;


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

    return-void
.end method

.method constructor <init>(Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$8;)V
    .registers 2
    .param p1, "this$1"    # Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$8;

    .line 3159
    iput-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$8$2;->this$1:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$8;

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

    return-void
.end method


# virtual methods
.method public onAnimationEnd(Landroid/animation/Animator;)V
    .registers 4
    .param p1, "animation"    # Landroid/animation/Animator;

    .line 3165
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$8$2;->this$1:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$8;

    iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$8;->this$0:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

    iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->reboundAnimator:Landroid/animation/ValueAnimator;

    if-eqz v0, :cond_31

    .line 3166
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$8$2;->this$1:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$8;

    iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$8;->this$0:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

    const/4 v1, 0x0

    iput-object v1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->reboundAnimator:Landroid/animation/ValueAnimator;

    .line 3167
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$8$2;->this$1:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$8;

    iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$8;->this$0:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

    iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mState:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->ReleaseToRefresh:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-eq v0, v1, :cond_24

    .line 3168
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$8$2;->this$1:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$8;

    iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$8;->this$0:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

    iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mKernel:Lcom/scwang/smartrefresh/layout/api/RefreshKernel;

    sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->ReleaseToRefresh:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    invoke-interface {v0, v1}, Lcom/scwang/smartrefresh/layout/api/RefreshKernel;->setState(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)Lcom/scwang/smartrefresh/layout/api/RefreshKernel;

    .line 3170
    :cond_24
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$8$2;->this$1:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$8;

    iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$8;->this$0:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$8$2;->this$1:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$8;

    iget-boolean v1, v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$8;->val$animationOnly:Z

    xor-int/lit8 v1, v1, 0x1

    invoke-virtual {v0, v1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->setStateRefreshing(Z)V

    .line 3172
    :cond_31
    return-void
.end method