l.smali
.class Lcom/scwang/smartrefresh/layout/l;
.super Landroid/animation/AnimatorListenerAdapter;
.source "SmartRefreshLayout.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/scwang/smartrefresh/layout/m;->run()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic a:Lcom/scwang/smartrefresh/layout/m;
# direct methods
.method constructor <init>(Lcom/scwang/smartrefresh/layout/m;)V
.registers 2
.line 1
iput-object p1, p0, Lcom/scwang/smartrefresh/layout/l;->a:Lcom/scwang/smartrefresh/layout/m;
invoke-direct {p0}, Landroid/animation/AnimatorListenerAdapter;-><init>()V
return-void
.end method
# virtual methods
.method public onAnimationEnd(Landroid/animation/Animator;)V
.registers 4
.line 1
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/l;->a:Lcom/scwang/smartrefresh/layout/m;
iget-object p1, p1, Lcom/scwang/smartrefresh/layout/m;->d:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->reboundAnimator:Landroid/animation/ValueAnimator;
if-eqz v0, :cond_21
const/4 v0, 0x0
.line 2
iput-object v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->reboundAnimator:Landroid/animation/ValueAnimator;
.line 3
iget-object v0, p1, 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_16
.line 4
iget-object p1, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mKernel:Lcom/scwang/smartrefresh/layout/a/i;
invoke-interface {p1, v1}, Lcom/scwang/smartrefresh/layout/a/i;->a(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)Lcom/scwang/smartrefresh/layout/a/i;
.line 5
:cond_16
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/l;->a:Lcom/scwang/smartrefresh/layout/m;
iget-object v0, p1, Lcom/scwang/smartrefresh/layout/m;->d:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-boolean p1, p1, Lcom/scwang/smartrefresh/layout/m;->c:Z
xor-int/lit8 p1, p1, 0x1
invoke-virtual {v0, p1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->setStateRefreshing(Z)V
:cond_21
return-void
.end method