90 lines
2.6 KiB
Smali
90 lines
2.6 KiB
Smali
.class public final Lcom/discord/views/CustomAppBarLayout;
|
|
.super Lcom/google/android/material/appbar/AppBarLayout;
|
|
.source "CustomAppBarLayout.kt"
|
|
|
|
|
|
# instance fields
|
|
.field public isCollapsed:Z
|
|
|
|
.field private yI:Lkotlin/jvm/functions/Function1;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Ljava/lang/Boolean;",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 1
|
|
|
|
const-string v0, "context"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-direct {p0, p1, p2}, Lcom/google/android/material/appbar/AppBarLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
new-instance p1, Lcom/discord/views/CustomAppBarLayout$1;
|
|
|
|
invoke-direct {p1, p0}, Lcom/discord/views/CustomAppBarLayout$1;-><init>(Lcom/discord/views/CustomAppBarLayout;)V
|
|
|
|
check-cast p1, Lcom/google/android/material/appbar/AppBarLayout$OnOffsetChangedListener;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/views/CustomAppBarLayout;->addOnOffsetChangedListener(Lcom/google/android/material/appbar/AppBarLayout$OnOffsetChangedListener;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic a(Lcom/discord/views/CustomAppBarLayout;)Lkotlin/jvm/functions/Function1;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lcom/discord/views/CustomAppBarLayout;->yI:Lkotlin/jvm/functions/Function1;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final synthetic a(Lcom/discord/views/CustomAppBarLayout;Z)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Lcom/discord/views/CustomAppBarLayout;->setCollapsed(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private final setCollapsed(Z)V
|
|
.locals 0
|
|
|
|
iput-boolean p1, p0, Lcom/discord/views/CustomAppBarLayout;->isCollapsed:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final setOnCollapsedChangedCallback(Lkotlin/jvm/functions/Function1;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Ljava/lang/Boolean;",
|
|
"Lkotlin/Unit;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "callback"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iput-object p1, p0, Lcom/discord/views/CustomAppBarLayout;->yI:Lkotlin/jvm/functions/Function1;
|
|
|
|
return-void
|
|
.end method
|