.class public final Lcom/discord/widgets/tabs/BottomNavViewObserver; .super Ljava/lang/Object; .source "BottomNavViewObserver.kt" # interfaces .implements Lcom/discord/widgets/tabs/TabsHostBottomNavigationView$HeightChangedListener; # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lcom/discord/widgets/tabs/BottomNavViewObserver$Companion; } .end annotation # static fields .field public static final Companion:Lcom/discord/widgets/tabs/BottomNavViewObserver$Companion; .field public static final INSTANCE$delegate:Lkotlin/Lazy; # instance fields .field public final heightSubject:Lrx/subjects/BehaviorSubject; .annotation system Ldalvik/annotation/Signature; value = { "Lrx/subjects/BehaviorSubject<", "Ljava/lang/Integer;", ">;" } .end annotation .end field # direct methods .method public static constructor ()V .locals 2 new-instance v0, Lcom/discord/widgets/tabs/BottomNavViewObserver$Companion; const/4 v1, 0x0 invoke-direct {v0, v1}, Lcom/discord/widgets/tabs/BottomNavViewObserver$Companion;->(Lkotlin/jvm/internal/DefaultConstructorMarker;)V sput-object v0, Lcom/discord/widgets/tabs/BottomNavViewObserver;->Companion:Lcom/discord/widgets/tabs/BottomNavViewObserver$Companion; sget-object v0, Lcom/discord/widgets/tabs/BottomNavViewObserver$Companion$INSTANCE$2;->INSTANCE:Lcom/discord/widgets/tabs/BottomNavViewObserver$Companion$INSTANCE$2; invoke-static {v0}, Lf/n/a/k/a;->lazy(Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy; move-result-object v0 sput-object v0, Lcom/discord/widgets/tabs/BottomNavViewObserver;->INSTANCE$delegate:Lkotlin/Lazy; return-void .end method .method public constructor ()V .locals 1 invoke-direct {p0}, Ljava/lang/Object;->()V const/4 v0, 0x0 invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object v0 invoke-static {v0}, Lrx/subjects/BehaviorSubject;->h0(Ljava/lang/Object;)Lrx/subjects/BehaviorSubject; move-result-object v0 iput-object v0, p0, Lcom/discord/widgets/tabs/BottomNavViewObserver;->heightSubject:Lrx/subjects/BehaviorSubject; return-void .end method .method public static final synthetic access$getINSTANCE$cp()Lkotlin/Lazy; .locals 1 sget-object v0, Lcom/discord/widgets/tabs/BottomNavViewObserver;->INSTANCE$delegate:Lkotlin/Lazy; return-object v0 .end method # virtual methods .method public final observeHeight()Lrx/Observable; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "()", "Lrx/Observable<", "Ljava/lang/Integer;", ">;" } .end annotation iget-object v0, p0, Lcom/discord/widgets/tabs/BottomNavViewObserver;->heightSubject:Lrx/subjects/BehaviorSubject; const-string v1, "heightSubject" invoke-static {v0, v1}, Lk0/o/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V return-object v0 .end method .method public onHeightChanged(I)V .locals 1 iget-object v0, p0, Lcom/discord/widgets/tabs/BottomNavViewObserver;->heightSubject:Lrx/subjects/BehaviorSubject; invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object p1 invoke-virtual {v0, p1}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V return-void .end method