SmartRefreshLayout$4.smali
.class Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$4;
.super Ljava/lang/Object;
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->onAttachedToWindow()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
# direct methods
.method constructor <init>(Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;)V
.registers 2
iput-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$4;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.registers 5
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$4;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
invoke-virtual {v0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
move-result-object v1
:goto_6
if-eqz v1, :cond_23
instance-of v0, v1, Landroid/support/v4/view/NestedScrollingParent;
if-eqz v0, :cond_24
iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$4;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
move-object v0, v1
check-cast v0, Landroid/support/v4/view/NestedScrollingParent;
const/4 v3, 0x2
invoke-interface {v0, v2, v2, v3}, Landroid/support/v4/view/NestedScrollingParent;->onStartNestedScroll(Landroid/view/View;Landroid/view/View;I)Z
move-result v0
if-eqz v0, :cond_24
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$4;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
const/4 v1, 0x1
invoke-virtual {v0, v1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->setNestedScrollingEnabled(Z)V
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$4;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
const/4 v1, 0x0
iput-boolean v1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->T:Z
:cond_23
return-void
:cond_24
instance-of v0, v1, Landroid/view/View;
if-eqz v0, :cond_23
check-cast v1, Landroid/view/View;
invoke-virtual {v1}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
move-result-object v1
goto :goto_6
.end method