c$1.smali
.class final Lcom/scwang/smartrefresh/layout/g/c$1;
.super Ljava/lang/Object;
# interfaces
.implements Landroid/support/design/widget/AppBarLayout$OnOffsetChangedListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/scwang/smartrefresh/layout/g/c;->a(Landroid/view/ViewGroup;Lcom/scwang/smartrefresh/layout/a/h;Lcom/scwang/smartrefresh/layout/f/a;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = null
.end annotation
# instance fields
.field final synthetic a:Lcom/scwang/smartrefresh/layout/f/a;
.field final synthetic b:Lcom/scwang/smartrefresh/layout/a/h;
# direct methods
.method constructor <init>(Lcom/scwang/smartrefresh/layout/f/a;Lcom/scwang/smartrefresh/layout/a/h;)V
.registers 3
iput-object p1, p0, Lcom/scwang/smartrefresh/layout/g/c$1;->a:Lcom/scwang/smartrefresh/layout/f/a;
iput-object p2, p0, Lcom/scwang/smartrefresh/layout/g/c$1;->b:Lcom/scwang/smartrefresh/layout/a/h;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onOffsetChanged(Landroid/support/design/widget/AppBarLayout;I)V
.registers 8
const/4 v1, 0x1
const/4 v2, 0x0
iget-object v3, p0, Lcom/scwang/smartrefresh/layout/g/c$1;->a:Lcom/scwang/smartrefresh/layout/f/a;
if-ltz p2, :cond_1a
move v0, v1
:goto_7
iget-object v4, p0, Lcom/scwang/smartrefresh/layout/g/c$1;->b:Lcom/scwang/smartrefresh/layout/a/h;
invoke-interface {v4}, Lcom/scwang/smartrefresh/layout/a/h;->j()Z
move-result v4
if-eqz v4, :cond_1c
invoke-virtual {p1}, Landroid/support/design/widget/AppBarLayout;->getTotalScrollRange()I
move-result v4
add-int/2addr v4, p2
if-gtz v4, :cond_1c
:goto_16
invoke-interface {v3, v0, v1}, Lcom/scwang/smartrefresh/layout/f/a;->a(ZZ)V
return-void
:cond_1a
move v0, v2
goto :goto_7
:cond_1c
move v1, v2
goto :goto_16
.end method