SmartRefreshHorizontal$a.smali

.class public final Lcom/scwang/smart/refresh/horizontal/SmartRefreshHorizontal$a;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Lcom/scwang/smart/refresh/layout/listener/d;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/scwang/smart/refresh/horizontal/SmartRefreshHorizontal;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x9
    name = "a"
.end annotation


# instance fields
.field public a:Lcom/scwang/smart/refresh/layout/listener/d;

.field public b:Lcom/scwang/smart/refresh/layout/listener/d;


# direct methods
.method public constructor <init>(Lcom/scwang/smart/refresh/layout/listener/d;Lcom/scwang/smart/refresh/layout/listener/d;)V
    .registers 3

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    iput-object p2, p0, Lcom/scwang/smart/refresh/horizontal/SmartRefreshHorizontal$a;->b:Lcom/scwang/smart/refresh/layout/listener/d;

    .line 3
    iput-object p1, p0, Lcom/scwang/smart/refresh/horizontal/SmartRefreshHorizontal$a;->a:Lcom/scwang/smart/refresh/layout/listener/d;

    return-void
.end method


# virtual methods
.method public final a(Landroid/content/Context;Lcom/scwang/smart/refresh/layout/api/f;)V
    .registers 4

    .line 1
    check-cast p2, Lcom/scwang/smart/refresh/layout/a;

    const/4 v0, 0x1

    invoke-virtual {p2, v0}, Lcom/scwang/smart/refresh/layout/a;->r(Z)Lcom/scwang/smart/refresh/layout/api/f;

    .line 2
    iget-object v0, p0, Lcom/scwang/smart/refresh/horizontal/SmartRefreshHorizontal$a;->a:Lcom/scwang/smart/refresh/layout/listener/d;

    if-eqz v0, :cond_f

    .line 3
    check-cast v0, Lcom/scwang/smart/refresh/horizontal/SmartRefreshHorizontal$a;

    invoke-virtual {v0, p1, p2}, Lcom/scwang/smart/refresh/horizontal/SmartRefreshHorizontal$a;->a(Landroid/content/Context;Lcom/scwang/smart/refresh/layout/api/f;)V

    .line 4
    :cond_f
    iget-object p1, p0, Lcom/scwang/smart/refresh/horizontal/SmartRefreshHorizontal$a;->b:Lcom/scwang/smart/refresh/layout/listener/d;

    if-eqz p1, :cond_16

    .line 5
    invoke-static {p1}, Lcom/scwang/smart/refresh/layout/a;->setDefaultRefreshInitializer(Lcom/scwang/smart/refresh/layout/listener/d;)V

    :cond_16
    return-void
.end method