SmartRefreshHorizontal$a.smali
.class public Lcom/scwang/smartrefresh/horizontal/SmartRefreshHorizontal$a;
.super Ljava/lang/Object;
.source "SmartRefreshHorizontal.java"
# interfaces
.implements Lcom/scwang/smartrefresh/layout/a/c;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/scwang/smartrefresh/horizontal/SmartRefreshHorizontal;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0xc
name = "a"
.end annotation
# instance fields
.field protected a:Lcom/scwang/smartrefresh/layout/a/c;
.field protected b:Lcom/scwang/smartrefresh/layout/a/c;
# direct methods
.method protected constructor <init>(Lcom/scwang/smartrefresh/layout/a/c;Lcom/scwang/smartrefresh/layout/a/c;)V
.registers 3
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p2, p0, Lcom/scwang/smartrefresh/horizontal/SmartRefreshHorizontal$a;->b:Lcom/scwang/smartrefresh/layout/a/c;
.line 3
iput-object p1, p0, Lcom/scwang/smartrefresh/horizontal/SmartRefreshHorizontal$a;->a:Lcom/scwang/smartrefresh/layout/a/c;
return-void
.end method
# virtual methods
.method public a(Landroid/content/Context;Lcom/scwang/smartrefresh/layout/a/j;)V
.registers 4
const/4 v0, 0x1
.line 1
invoke-interface {p2, v0}, Lcom/scwang/smartrefresh/layout/a/j;->setEnableLoadMore(Z)Lcom/scwang/smartrefresh/layout/a/j;
.line 2
iget-object v0, p0, Lcom/scwang/smartrefresh/horizontal/SmartRefreshHorizontal$a;->a:Lcom/scwang/smartrefresh/layout/a/c;
if-eqz v0, :cond_b
.line 3
invoke-interface {v0, p1, p2}, Lcom/scwang/smartrefresh/layout/a/c;->a(Landroid/content/Context;Lcom/scwang/smartrefresh/layout/a/j;)V
.line 4
:cond_b
iget-object p1, p0, Lcom/scwang/smartrefresh/horizontal/SmartRefreshHorizontal$a;->b:Lcom/scwang/smartrefresh/layout/a/c;
if-eqz p1, :cond_12
.line 5
invoke-static {p1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->setDefaultRefreshInitializer(Lcom/scwang/smartrefresh/layout/a/c;)V
:cond_12
return-void
.end method