a.smali
.class final Lcom/sandboxol/editor/view/widget/a;
.super Ljava/lang/Object;
.source "LiveDataRecyclerView.kt"
# interfaces
.implements Lcom/scwang/smartrefresh/layout/b/d;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/sandboxol/editor/view/widget/LiveDataRecyclerView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
# instance fields
.field final synthetic a:Lcom/sandboxol/editor/view/widget/LiveDataRecyclerView;
.field final synthetic b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
# direct methods
.method constructor <init>(Lcom/sandboxol/editor/view/widget/LiveDataRecyclerView;Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;)V
.registers 3
iput-object p1, p0, Lcom/sandboxol/editor/view/widget/a;->a:Lcom/sandboxol/editor/view/widget/LiveDataRecyclerView;
iput-object p2, p0, Lcom/sandboxol/editor/view/widget/a;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final a(Lcom/scwang/smartrefresh/layout/a/j;)V
.registers 5
const-string v0, "it"
invoke-static {p1, v0}, Lkotlin/jvm/internal/i;->c(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
iget-object p1, p0, Lcom/sandboxol/editor/view/widget/a;->a:Lcom/sandboxol/editor/view/widget/LiveDataRecyclerView;
# getter for: Lcom/sandboxol/editor/view/widget/LiveDataRecyclerView;->fetchData:Lkotlin/jvm/a/a;
invoke-static {p1}, Lcom/sandboxol/editor/view/widget/LiveDataRecyclerView;->access$getFetchData$p(Lcom/sandboxol/editor/view/widget/LiveDataRecyclerView;)Lkotlin/jvm/a/a;
move-result-object p1
if-eqz p1, :cond_13
invoke-interface {p1}, Lkotlin/jvm/a/a;->invoke()Ljava/lang/Object;
move-result-object p1
check-cast p1, Lkotlin/n;
.line 2
:cond_13
iget-object p1, p0, Lcom/sandboxol/editor/view/widget/a;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
const/16 v0, 0x1f4
const/4 v1, 0x1
const/4 v2, 0x0
invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v2
invoke-virtual {p1, v0, v1, v2}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->finishRefresh(IZLjava/lang/Boolean;)Lcom/scwang/smartrefresh/layout/a/j;
return-void
.end method