.class public final Landroidx/navigation/ui/NavigationUI; .super Ljava/lang/Object; .source "NavigationUI.kt" # annotations .annotation system Ldalvik/annotation/SourceDebugExtension; value = "SMAP\nNavigationUI.kt\nKotlin\n*S Kotlin\n*F\n+ 1 NavigationUI.kt\nandroidx/navigation/ui/NavigationUI\n+ 2 _Sequences.kt\nkotlin/sequences/SequencesKt___SequencesKt\n*L\n1#1,728:1\n1229#2,2:729\n*S KotlinDebug\n*F\n+ 1 NavigationUI.kt\nandroidx/navigation/ui/NavigationUI\n*L\n726#1:729,2\n*E\n" .end annotation .annotation runtime Lkotlin/Metadata; d1 = { "\u0000t\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\u0002\u0008\u00c6\u0002\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002J\u0016\u0010\u0005\u001a\u0008\u0012\u0002\u0008\u0003\u0018\u00010\u00062\u0006\u0010\u0007\u001a\u00020\u0008H\u0007J\u001a\u0010\t\u001a\u00020\n2\u0006\u0010\u000b\u001a\u00020\u000c2\u0008\u0010\r\u001a\u0004\u0018\u00010\u000eH\u0007J\u0018\u0010\t\u001a\u00020\n2\u0006\u0010\u000b\u001a\u00020\u000c2\u0006\u0010\u000f\u001a\u00020\u0010H\u0007J\u0018\u0010\u0011\u001a\u00020\n2\u0006\u0010\u0012\u001a\u00020\u00132\u0006\u0010\u000b\u001a\u00020\u000cH\u0007J \u0010\u0011\u001a\u00020\n2\u0006\u0010\u0012\u001a\u00020\u00132\u0006\u0010\u000b\u001a\u00020\u000c2\u0006\u0010\u0014\u001a\u00020\nH\u0007J\"\u0010\u0015\u001a\u00020\u00162\u0006\u0010\u0017\u001a\u00020\u00182\u0006\u0010\u000b\u001a\u00020\u000c2\u0008\u0010\r\u001a\u0004\u0018\u00010\u000eH\u0007J\"\u0010\u0015\u001a\u00020\u00162\u0006\u0010\u0017\u001a\u00020\u00182\u0006\u0010\u000b\u001a\u00020\u000c2\u0008\u0008\u0002\u0010\u000f\u001a\u00020\u0010H\u0007J\"\u0010\u0019\u001a\u00020\u00162\u0006\u0010\u001a\u001a\u00020\u001b2\u0006\u0010\u000b\u001a\u00020\u000c2\u0008\u0010\r\u001a\u0004\u0018\u00010\u000eH\u0007J\"\u0010\u0019\u001a\u00020\u00162\u0006\u0010\u001a\u001a\u00020\u001b2\u0006\u0010\u000b\u001a\u00020\u000c2\u0008\u0008\u0002\u0010\u000f\u001a\u00020\u0010H\u0007J*\u0010\u0019\u001a\u00020\u00162\u0006\u0010\u001c\u001a\u00020\u001d2\u0006\u0010\u001a\u001a\u00020\u001b2\u0006\u0010\u000b\u001a\u00020\u000c2\u0008\u0010\r\u001a\u0004\u0018\u00010\u000eH\u0007J*\u0010\u0019\u001a\u00020\u00162\u0006\u0010\u001c\u001a\u00020\u001d2\u0006\u0010\u001a\u001a\u00020\u001b2\u0006\u0010\u000b\u001a\u00020\u000c2\u0008\u0008\u0002\u0010\u000f\u001a\u00020\u0010H\u0007J\u0018\u0010\u0019\u001a\u00020\u00162\u0006\u0010\u001e\u001a\u00020\u001f2\u0006\u0010\u000b\u001a\u00020\u000cH\u0007J \u0010\u0019\u001a\u00020\u00162\u0006\u0010\u001e\u001a\u00020\u001f2\u0006\u0010\u000b\u001a\u00020\u000c2\u0006\u0010\u0014\u001a\u00020\nH\u0007J\u0018\u0010\u0019\u001a\u00020\u00162\u0006\u0010 \u001a\u00020!2\u0006\u0010\u000b\u001a\u00020\u000cH\u0007J \u0010\u0019\u001a\u00020\u00162\u0006\u0010 \u001a\u00020!2\u0006\u0010\u000b\u001a\u00020\u000c2\u0006\u0010\u0014\u001a\u00020\nH\u0007J\u001b\u0010\"\u001a\u00020\n*\u00020#2\u0008\u0008\u0001\u0010$\u001a\u00020%H\u0001\u00a2\u0006\u0002\u0008&R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000\u00a8\u0006\'" } d2 = { "Landroidx/navigation/ui/NavigationUI;", "", "()V", "TAG", "", "findBottomSheetBehavior", "Lcom/google/android/material/bottomsheet/BottomSheetBehavior;", "view", "Landroid/view/View;", "navigateUp", "", "navController", "Landroidx/navigation/NavController;", "openableLayout", "Landroidx/customview/widget/Openable;", "configuration", "Landroidx/navigation/ui/AppBarConfiguration;", "onNavDestinationSelected", "item", "Landroid/view/MenuItem;", "saveState", "setupActionBarWithNavController", "", "activity", "Landroidx/appcompat/app/AppCompatActivity;", "setupWithNavController", "toolbar", "Landroidx/appcompat/widget/Toolbar;", "collapsingToolbarLayout", "Lcom/google/android/material/appbar/CollapsingToolbarLayout;", "navigationBarView", "Lcom/google/android/material/navigation/NavigationBarView;", "navigationView", "Lcom/google/android/material/navigation/NavigationView;", "matchDestination", "Landroidx/navigation/NavDestination;", "destId", "", "matchDestination$navigation_ui_release", "navigation-ui_release" } k = 0x1 mv = { 0x1, 0x8, 0x0 } xi = 0x30 .end annotation # static fields .field public static final INSTANCE:Landroidx/navigation/ui/NavigationUI; .field private static final TAG:Ljava/lang/String; = "NavigationUI" # direct methods .method public static synthetic $r8$lambda$9eQ8dN-7TNi8wU0VpQNlD7L0piQ(Landroidx/navigation/NavController;Landroidx/navigation/ui/AppBarConfiguration;Landroid/view/View;)V .locals 0 invoke-static {p0, p1, p2}, Landroidx/navigation/ui/NavigationUI;->setupWithNavController$lambda$1(Landroidx/navigation/NavController;Landroidx/navigation/ui/AppBarConfiguration;Landroid/view/View;)V return-void .end method .method public static synthetic $r8$lambda$Pw-T7uPlYIDB9g5xe-VU8IS_KuI(Landroidx/navigation/NavController;Lcom/google/android/material/navigation/NavigationView;Landroid/view/MenuItem;)Z .locals 0 invoke-static {p0, p1, p2}, Landroidx/navigation/ui/NavigationUI;->setupWithNavController$lambda$3(Landroidx/navigation/NavController;Lcom/google/android/material/navigation/NavigationView;Landroid/view/MenuItem;)Z move-result p0 return p0 .end method .method public static synthetic $r8$lambda$WOSVADNI-_bOf-m2oAY8kR9rYHU(Landroidx/navigation/NavController;ZLcom/google/android/material/navigation/NavigationView;Landroid/view/MenuItem;)Z .locals 0 invoke-static {p0, p1, p2, p3}, Landroidx/navigation/ui/NavigationUI;->setupWithNavController$lambda$5(Landroidx/navigation/NavController;ZLcom/google/android/material/navigation/NavigationView;Landroid/view/MenuItem;)Z move-result p0 return p0 .end method .method public static synthetic $r8$lambda$XLlJkyN_3cKT3yqBrXuaxxysRSI(Landroidx/navigation/NavController;Landroidx/navigation/ui/AppBarConfiguration;Landroid/view/View;)V .locals 0 invoke-static {p0, p1, p2}, Landroidx/navigation/ui/NavigationUI;->setupWithNavController$lambda$2(Landroidx/navigation/NavController;Landroidx/navigation/ui/AppBarConfiguration;Landroid/view/View;)V return-void .end method .method public static synthetic $r8$lambda$nq0b7zC_WhRqahUF78aBEQt3-h8(Landroidx/navigation/NavController;Landroid/view/MenuItem;)Z .locals 0 invoke-static {p0, p1}, Landroidx/navigation/ui/NavigationUI;->setupWithNavController$lambda$6(Landroidx/navigation/NavController;Landroid/view/MenuItem;)Z move-result p0 return p0 .end method .method public static synthetic $r8$lambda$sbvqyPolB3oScI2X65WBFg39n0s(Landroidx/navigation/NavController;ZLandroid/view/MenuItem;)Z .locals 0 invoke-static {p0, p1, p2}, Landroidx/navigation/ui/NavigationUI;->setupWithNavController$lambda$8(Landroidx/navigation/NavController;ZLandroid/view/MenuItem;)Z move-result p0 return p0 .end method .method static constructor ()V .locals 1 new-instance v0, Landroidx/navigation/ui/NavigationUI; invoke-direct {v0}, Landroidx/navigation/ui/NavigationUI;->()V sput-object v0, Landroidx/navigation/ui/NavigationUI;->INSTANCE:Landroidx/navigation/ui/NavigationUI; return-void .end method .method private constructor ()V .locals 0 .line 49 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public static final findBottomSheetBehavior(Landroid/view/View;)Lcom/google/android/material/bottomsheet/BottomSheetBehavior; .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Landroid/view/View;", ")", "Lcom/google/android/material/bottomsheet/BottomSheetBehavior<", "*>;" } .end annotation .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation const-string v0, "view" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 595 invoke-virtual {p0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams; move-result-object v0 .line 596 instance-of v1, v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$LayoutParams; const/4 v2, 0x0 if-nez v1, :cond_1 .line 597 invoke-virtual {p0}, Landroid/view/View;->getParent()Landroid/view/ViewParent; move-result-object p0 .line 598 instance-of v0, p0, Landroid/view/View; if-eqz v0, :cond_0 .line 599 check-cast p0, Landroid/view/View; invoke-static {p0}, Landroidx/navigation/ui/NavigationUI;->findBottomSheetBehavior(Landroid/view/View;)Lcom/google/android/material/bottomsheet/BottomSheetBehavior; move-result-object v2 :cond_0 return-object v2 .line 602 :cond_1 check-cast v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$LayoutParams; .line 603 invoke-virtual {v0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$LayoutParams;->getBehavior()Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior; move-result-object p0 .line 604 instance-of v0, p0, Lcom/google/android/material/bottomsheet/BottomSheetBehavior; if-nez v0, :cond_2 goto :goto_0 .line 607 :cond_2 move-object v2, p0 check-cast v2, Lcom/google/android/material/bottomsheet/BottomSheetBehavior; :goto_0 return-object v2 .end method .method public static final matchDestination$navigation_ui_release(Landroidx/navigation/NavDestination;I)Z .locals 1 .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation const-string v0, "" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 726 sget-object v0, Landroidx/navigation/NavDestination;->Companion:Landroidx/navigation/NavDestination$Companion; invoke-virtual {v0, p0}, Landroidx/navigation/NavDestination$Companion;->getHierarchy(Landroidx/navigation/NavDestination;)Lkotlin/sequences/Sequence; move-result-object p0 .line 729 invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator; move-result-object p0 :cond_0 invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z move-result v0 if-eqz v0, :cond_1 invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v0 check-cast v0, Landroidx/navigation/NavDestination; .line 726 invoke-virtual {v0}, Landroidx/navigation/NavDestination;->getId()I move-result v0 if-ne v0, p1, :cond_0 const/4 p0, 0x1 goto :goto_0 :cond_1 const/4 p0, 0x0 :goto_0 return p0 .end method .method public static final navigateUp(Landroidx/navigation/NavController;Landroidx/customview/widget/Openable;)Z .locals 2 .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation const-string v0, "navController" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 198 new-instance v0, Landroidx/navigation/ui/AppBarConfiguration$Builder; invoke-virtual {p0}, Landroidx/navigation/NavController;->getGraph()Landroidx/navigation/NavGraph; move-result-object v1 invoke-direct {v0, v1}, Landroidx/navigation/ui/AppBarConfiguration$Builder;->(Landroidx/navigation/NavGraph;)V .line 199 invoke-virtual {v0, p1}, Landroidx/navigation/ui/AppBarConfiguration$Builder;->setOpenableLayout(Landroidx/customview/widget/Openable;)Landroidx/navigation/ui/AppBarConfiguration$Builder; move-result-object p1 .line 200 invoke-virtual {p1}, Landroidx/navigation/ui/AppBarConfiguration$Builder;->build()Landroidx/navigation/ui/AppBarConfiguration; move-result-object p1 .line 196 invoke-static {p0, p1}, Landroidx/navigation/ui/NavigationUI;->navigateUp(Landroidx/navigation/NavController;Landroidx/navigation/ui/AppBarConfiguration;)Z move-result p0 return p0 .end method .method public static final navigateUp(Landroidx/navigation/NavController;Landroidx/navigation/ui/AppBarConfiguration;)Z .locals 3 .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation const-string v0, "navController" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "configuration" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 223 invoke-virtual {p1}, Landroidx/navigation/ui/AppBarConfiguration;->getOpenableLayout()Landroidx/customview/widget/Openable; move-result-object v0 .line 224 invoke-virtual {p0}, Landroidx/navigation/NavController;->getCurrentDestination()Landroidx/navigation/NavDestination; move-result-object v1 const/4 v2, 0x1 if-eqz v0, :cond_0 if-eqz v1, :cond_0 .line 226 invoke-virtual {p1, v1}, Landroidx/navigation/ui/AppBarConfiguration;->isTopLevelDestination(Landroidx/navigation/NavDestination;)Z move-result v1 if-eqz v1, :cond_0 .line 228 invoke-interface {v0}, Landroidx/customview/widget/Openable;->open()V return v2 .line 231 :cond_0 invoke-virtual {p0}, Landroidx/navigation/NavController;->navigateUp()Z move-result p0 if-eqz p0, :cond_1 goto :goto_0 .line 233 :cond_1 invoke-virtual {p1}, Landroidx/navigation/ui/AppBarConfiguration;->getFallbackOnNavigateUpListener()Landroidx/navigation/ui/AppBarConfiguration$OnNavigateUpListener; move-result-object p0 if-eqz p0, :cond_2 invoke-interface {p0}, Landroidx/navigation/ui/AppBarConfiguration$OnNavigateUpListener;->onNavigateUp()Z move-result v2 goto :goto_0 :cond_2 const/4 v2, 0x0 :goto_0 return v2 .end method .method public static final onNavDestinationSelected(Landroid/view/MenuItem;Landroidx/navigation/NavController;)Z .locals 5 .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation const-string v0, "item" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "navController" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 71 new-instance v0, Landroidx/navigation/NavOptions$Builder; invoke-direct {v0}, Landroidx/navigation/NavOptions$Builder;->()V const/4 v1, 0x1 invoke-virtual {v0, v1}, Landroidx/navigation/NavOptions$Builder;->setLaunchSingleTop(Z)Landroidx/navigation/NavOptions$Builder; move-result-object v0 invoke-virtual {v0, v1}, Landroidx/navigation/NavOptions$Builder;->setRestoreState(Z)Landroidx/navigation/NavOptions$Builder; move-result-object v0 .line 73 invoke-virtual {p1}, Landroidx/navigation/NavController;->getCurrentDestination()Landroidx/navigation/NavDestination; move-result-object v2 invoke-static {v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V invoke-virtual {v2}, Landroidx/navigation/NavDestination;->getParent()Landroidx/navigation/NavGraph; move-result-object v2 invoke-static {v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V invoke-interface {p0}, Landroid/view/MenuItem;->getItemId()I move-result v3 invoke-virtual {v2, v3}, Landroidx/navigation/NavGraph;->findNode(I)Landroidx/navigation/NavDestination; move-result-object v2 instance-of v2, v2, Landroidx/navigation/ActivityNavigator$Destination; if-eqz v2, :cond_0 .line 76 sget v2, Landroidx/navigation/ui/R$anim;->nav_default_enter_anim:I invoke-virtual {v0, v2}, Landroidx/navigation/NavOptions$Builder;->setEnterAnim(I)Landroidx/navigation/NavOptions$Builder; move-result-object v2 .line 77 sget v3, Landroidx/navigation/ui/R$anim;->nav_default_exit_anim:I invoke-virtual {v2, v3}, Landroidx/navigation/NavOptions$Builder;->setExitAnim(I)Landroidx/navigation/NavOptions$Builder; move-result-object v2 .line 78 sget v3, Landroidx/navigation/ui/R$anim;->nav_default_pop_enter_anim:I invoke-virtual {v2, v3}, Landroidx/navigation/NavOptions$Builder;->setPopEnterAnim(I)Landroidx/navigation/NavOptions$Builder; move-result-object v2 .line 79 sget v3, Landroidx/navigation/ui/R$anim;->nav_default_pop_exit_anim:I invoke-virtual {v2, v3}, Landroidx/navigation/NavOptions$Builder;->setPopExitAnim(I)Landroidx/navigation/NavOptions$Builder; goto :goto_0 .line 81 :cond_0 sget v2, Landroidx/navigation/ui/R$animator;->nav_default_enter_anim:I invoke-virtual {v0, v2}, Landroidx/navigation/NavOptions$Builder;->setEnterAnim(I)Landroidx/navigation/NavOptions$Builder; move-result-object v2 .line 82 sget v3, Landroidx/navigation/ui/R$animator;->nav_default_exit_anim:I invoke-virtual {v2, v3}, Landroidx/navigation/NavOptions$Builder;->setExitAnim(I)Landroidx/navigation/NavOptions$Builder; move-result-object v2 .line 83 sget v3, Landroidx/navigation/ui/R$animator;->nav_default_pop_enter_anim:I invoke-virtual {v2, v3}, Landroidx/navigation/NavOptions$Builder;->setPopEnterAnim(I)Landroidx/navigation/NavOptions$Builder; move-result-object v2 .line 84 sget v3, Landroidx/navigation/ui/R$animator;->nav_default_pop_exit_anim:I invoke-virtual {v2, v3}, Landroidx/navigation/NavOptions$Builder;->setPopExitAnim(I)Landroidx/navigation/NavOptions$Builder; .line 86 :goto_0 invoke-interface {p0}, Landroid/view/MenuItem;->getOrder()I move-result v2 const/high16 v3, 0x30000 and-int/2addr v2, v3 const/4 v3, 0x0 if-nez v2, :cond_1 .line 88 sget-object v2, Landroidx/navigation/NavGraph;->Companion:Landroidx/navigation/NavGraph$Companion; invoke-virtual {p1}, Landroidx/navigation/NavController;->getGraph()Landroidx/navigation/NavGraph; move-result-object v4 invoke-virtual {v2, v4}, Landroidx/navigation/NavGraph$Companion;->findStartDestination(Landroidx/navigation/NavGraph;)Landroidx/navigation/NavDestination; move-result-object v2 invoke-virtual {v2}, Landroidx/navigation/NavDestination;->getId()I move-result v2 .line 87 invoke-virtual {v0, v2, v3, v1}, Landroidx/navigation/NavOptions$Builder;->setPopUpTo(IZZ)Landroidx/navigation/NavOptions$Builder; .line 93 :cond_1 invoke-virtual {v0}, Landroidx/navigation/NavOptions$Builder;->build()Landroidx/navigation/NavOptions; move-result-object v0 .line 96 :try_start_0 invoke-interface {p0}, Landroid/view/MenuItem;->getItemId()I move-result v2 const/4 v4, 0x0 invoke-virtual {p1, v2, v4, v0}, Landroidx/navigation/NavController;->navigate(ILandroid/os/Bundle;Landroidx/navigation/NavOptions;)V .line 98 invoke-virtual {p1}, Landroidx/navigation/NavController;->getCurrentDestination()Landroidx/navigation/NavDestination; move-result-object v0 if-eqz v0, :cond_2 invoke-interface {p0}, Landroid/view/MenuItem;->getItemId()I move-result v2 invoke-static {v0, v2}, Landroidx/navigation/ui/NavigationUI;->matchDestination$navigation_ui_release(Landroidx/navigation/NavDestination;I)Z move-result p0 :try_end_0 .catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0 if-ne p0, v1, :cond_2 goto :goto_1 :cond_2 move v1, v3 :goto_1 move v3, v1 goto :goto_2 :catch_0 move-exception v0 .line 100 sget-object v1, Landroidx/navigation/NavDestination;->Companion:Landroidx/navigation/NavDestination$Companion; invoke-virtual {p1}, Landroidx/navigation/NavController;->getContext()Landroid/content/Context; move-result-object v2 invoke-interface {p0}, Landroid/view/MenuItem;->getItemId()I move-result p0 invoke-virtual {v1, v2, p0}, Landroidx/navigation/NavDestination$Companion;->getDisplayName(Landroid/content/Context;I)Ljava/lang/String; move-result-object p0 .line 103 new-instance v1, Ljava/lang/StringBuilder; const-string v2, "Ignoring onNavDestinationSelected for MenuItem " invoke-direct {v1, v2}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p0 const-string v1, " as it cannot be found from the current destination " invoke-virtual {p0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p0 .line 104 invoke-virtual {p1}, Landroidx/navigation/NavController;->getCurrentDestination()Landroidx/navigation/NavDestination; move-result-object p1 .line 103 invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; move-result-object p0 invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p0 .line 105 check-cast v0, Ljava/lang/Throwable; const-string p1, "NavigationUI" .line 101 invoke-static {p1, p0, v0}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I :goto_2 return v3 .end method .method public static final onNavDestinationSelected(Landroid/view/MenuItem;Landroidx/navigation/NavController;Z)Z .locals 7 .annotation runtime Landroidx/navigation/ui/NavigationUiSaveStateControl; .end annotation .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation const-string v0, "item" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "navController" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const/4 v0, 0x1 xor-int/2addr p2, v0 if-eqz p2, :cond_3 .line 143 new-instance p2, Landroidx/navigation/NavOptions$Builder; invoke-direct {p2}, Landroidx/navigation/NavOptions$Builder;->()V invoke-virtual {p2, v0}, Landroidx/navigation/NavOptions$Builder;->setLaunchSingleTop(Z)Landroidx/navigation/NavOptions$Builder; move-result-object p2 .line 145 invoke-virtual {p1}, Landroidx/navigation/NavController;->getCurrentDestination()Landroidx/navigation/NavDestination; move-result-object v1 invoke-static {v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V invoke-virtual {v1}, Landroidx/navigation/NavDestination;->getParent()Landroidx/navigation/NavGraph; move-result-object v1 invoke-static {v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V invoke-interface {p0}, Landroid/view/MenuItem;->getItemId()I move-result v2 invoke-virtual {v1, v2}, Landroidx/navigation/NavGraph;->findNode(I)Landroidx/navigation/NavDestination; move-result-object v1 instance-of v1, v1, Landroidx/navigation/ActivityNavigator$Destination; if-eqz v1, :cond_0 .line 148 sget v1, Landroidx/navigation/ui/R$anim;->nav_default_enter_anim:I invoke-virtual {p2, v1}, Landroidx/navigation/NavOptions$Builder;->setEnterAnim(I)Landroidx/navigation/NavOptions$Builder; move-result-object v1 .line 149 sget v2, Landroidx/navigation/ui/R$anim;->nav_default_exit_anim:I invoke-virtual {v1, v2}, Landroidx/navigation/NavOptions$Builder;->setExitAnim(I)Landroidx/navigation/NavOptions$Builder; move-result-object v1 .line 150 sget v2, Landroidx/navigation/ui/R$anim;->nav_default_pop_enter_anim:I invoke-virtual {v1, v2}, Landroidx/navigation/NavOptions$Builder;->setPopEnterAnim(I)Landroidx/navigation/NavOptions$Builder; move-result-object v1 .line 151 sget v2, Landroidx/navigation/ui/R$anim;->nav_default_pop_exit_anim:I invoke-virtual {v1, v2}, Landroidx/navigation/NavOptions$Builder;->setPopExitAnim(I)Landroidx/navigation/NavOptions$Builder; goto :goto_0 .line 153 :cond_0 sget v1, Landroidx/navigation/ui/R$animator;->nav_default_enter_anim:I invoke-virtual {p2, v1}, Landroidx/navigation/NavOptions$Builder;->setEnterAnim(I)Landroidx/navigation/NavOptions$Builder; move-result-object v1 .line 154 sget v2, Landroidx/navigation/ui/R$animator;->nav_default_exit_anim:I invoke-virtual {v1, v2}, Landroidx/navigation/NavOptions$Builder;->setExitAnim(I)Landroidx/navigation/NavOptions$Builder; move-result-object v1 .line 155 sget v2, Landroidx/navigation/ui/R$animator;->nav_default_pop_enter_anim:I invoke-virtual {v1, v2}, Landroidx/navigation/NavOptions$Builder;->setPopEnterAnim(I)Landroidx/navigation/NavOptions$Builder; move-result-object v1 .line 156 sget v2, Landroidx/navigation/ui/R$animator;->nav_default_pop_exit_anim:I invoke-virtual {v1, v2}, Landroidx/navigation/NavOptions$Builder;->setPopExitAnim(I)Landroidx/navigation/NavOptions$Builder; .line 158 :goto_0 invoke-interface {p0}, Landroid/view/MenuItem;->getOrder()I move-result v1 const/high16 v2, 0x30000 and-int/2addr v1, v2 if-nez v1, :cond_1 .line 160 sget-object v1, Landroidx/navigation/NavGraph;->Companion:Landroidx/navigation/NavGraph$Companion; invoke-virtual {p1}, Landroidx/navigation/NavController;->getGraph()Landroidx/navigation/NavGraph; move-result-object v2 invoke-virtual {v1, v2}, Landroidx/navigation/NavGraph$Companion;->findStartDestination(Landroidx/navigation/NavGraph;)Landroidx/navigation/NavDestination; move-result-object v1 invoke-virtual {v1}, Landroidx/navigation/NavDestination;->getId()I move-result v2 const/4 v3, 0x0 const/4 v4, 0x0 const/4 v5, 0x4 const/4 v6, 0x0 move-object v1, p2 .line 159 invoke-static/range {v1 .. v6}, Landroidx/navigation/NavOptions$Builder;->setPopUpTo$default(Landroidx/navigation/NavOptions$Builder;IZZILjava/lang/Object;)Landroidx/navigation/NavOptions$Builder; .line 164 :cond_1 invoke-virtual {p2}, Landroidx/navigation/NavOptions$Builder;->build()Landroidx/navigation/NavOptions; move-result-object p2 const/4 v1, 0x0 .line 167 :try_start_0 invoke-interface {p0}, Landroid/view/MenuItem;->getItemId()I move-result v2 const/4 v3, 0x0 invoke-virtual {p1, v2, v3, p2}, Landroidx/navigation/NavController;->navigate(ILandroid/os/Bundle;Landroidx/navigation/NavOptions;)V .line 169 invoke-virtual {p1}, Landroidx/navigation/NavController;->getCurrentDestination()Landroidx/navigation/NavDestination; move-result-object p2 if-eqz p2, :cond_2 invoke-interface {p0}, Landroid/view/MenuItem;->getItemId()I move-result v2 invoke-static {p2, v2}, Landroidx/navigation/ui/NavigationUI;->matchDestination$navigation_ui_release(Landroidx/navigation/NavDestination;I)Z move-result p0 :try_end_0 .catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0 if-ne p0, v0, :cond_2 goto :goto_1 :cond_2 move v0, v1 :goto_1 move v1, v0 goto :goto_2 :catch_0 move-exception p2 .line 171 sget-object v0, Landroidx/navigation/NavDestination;->Companion:Landroidx/navigation/NavDestination$Companion; invoke-virtual {p1}, Landroidx/navigation/NavController;->getContext()Landroid/content/Context; move-result-object v2 invoke-interface {p0}, Landroid/view/MenuItem;->getItemId()I move-result p0 invoke-virtual {v0, v2, p0}, Landroidx/navigation/NavDestination$Companion;->getDisplayName(Landroid/content/Context;I)Ljava/lang/String; move-result-object p0 .line 174 new-instance v0, Ljava/lang/StringBuilder; const-string v2, "Ignoring onNavDestinationSelected for MenuItem " invoke-direct {v0, v2}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p0 const-string v0, " as it cannot be found from the current destination " invoke-virtual {p0, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p0 .line 175 invoke-virtual {p1}, Landroidx/navigation/NavController;->getCurrentDestination()Landroidx/navigation/NavDestination; move-result-object p1 .line 174 invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; move-result-object p0 invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p0 .line 176 check-cast p2, Ljava/lang/Throwable; const-string p1, "NavigationUI" .line 172 invoke-static {p1, p0, p2}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I :goto_2 return v1 .line 139 :cond_3 new-instance p0, Ljava/lang/IllegalStateException; const-string p1, "Leave the saveState parameter out entirely to use the non-experimental version of this API, which saves the state by default" invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String; move-result-object p1 invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V throw p0 .end method .method public static final setupActionBarWithNavController(Landroidx/appcompat/app/AppCompatActivity;Landroidx/navigation/NavController;)V .locals 2 .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation const-string v0, "activity" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "navController" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const/4 v0, 0x0 const/4 v1, 0x4 invoke-static {p0, p1, v0, v1, v0}, Landroidx/navigation/ui/NavigationUI;->setupActionBarWithNavController$default(Landroidx/appcompat/app/AppCompatActivity;Landroidx/navigation/NavController;Landroidx/navigation/ui/AppBarConfiguration;ILjava/lang/Object;)V return-void .end method .method public static final setupActionBarWithNavController(Landroidx/appcompat/app/AppCompatActivity;Landroidx/navigation/NavController;Landroidx/customview/widget/Openable;)V .locals 2 .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation const-string v0, "activity" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "navController" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 268 new-instance v0, Landroidx/navigation/ui/AppBarConfiguration$Builder; invoke-virtual {p1}, Landroidx/navigation/NavController;->getGraph()Landroidx/navigation/NavGraph; move-result-object v1 invoke-direct {v0, v1}, Landroidx/navigation/ui/AppBarConfiguration$Builder;->(Landroidx/navigation/NavGraph;)V .line 269 invoke-virtual {v0, p2}, Landroidx/navigation/ui/AppBarConfiguration$Builder;->setOpenableLayout(Landroidx/customview/widget/Openable;)Landroidx/navigation/ui/AppBarConfiguration$Builder; move-result-object p2 .line 270 invoke-virtual {p2}, Landroidx/navigation/ui/AppBarConfiguration$Builder;->build()Landroidx/navigation/ui/AppBarConfiguration; move-result-object p2 .line 265 invoke-static {p0, p1, p2}, Landroidx/navigation/ui/NavigationUI;->setupActionBarWithNavController(Landroidx/appcompat/app/AppCompatActivity;Landroidx/navigation/NavController;Landroidx/navigation/ui/AppBarConfiguration;)V return-void .end method .method public static final setupActionBarWithNavController(Landroidx/appcompat/app/AppCompatActivity;Landroidx/navigation/NavController;Landroidx/navigation/ui/AppBarConfiguration;)V .locals 1 .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation const-string v0, "activity" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "navController" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "configuration" invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 302 new-instance v0, Landroidx/navigation/ui/ActionBarOnDestinationChangedListener; invoke-direct {v0, p0, p2}, Landroidx/navigation/ui/ActionBarOnDestinationChangedListener;->(Landroidx/appcompat/app/AppCompatActivity;Landroidx/navigation/ui/AppBarConfiguration;)V check-cast v0, Landroidx/navigation/NavController$OnDestinationChangedListener; .line 301 invoke-virtual {p1, v0}, Landroidx/navigation/NavController;->addOnDestinationChangedListener(Landroidx/navigation/NavController$OnDestinationChangedListener;)V return-void .end method .method public static synthetic setupActionBarWithNavController$default(Landroidx/appcompat/app/AppCompatActivity;Landroidx/navigation/NavController;Landroidx/navigation/ui/AppBarConfiguration;ILjava/lang/Object;)V .locals 0 and-int/lit8 p3, p3, 0x4 if-eqz p3, :cond_0 .line 299 new-instance p2, Landroidx/navigation/ui/AppBarConfiguration$Builder; invoke-virtual {p1}, Landroidx/navigation/NavController;->getGraph()Landroidx/navigation/NavGraph; move-result-object p3 invoke-direct {p2, p3}, Landroidx/navigation/ui/AppBarConfiguration$Builder;->(Landroidx/navigation/NavGraph;)V invoke-virtual {p2}, Landroidx/navigation/ui/AppBarConfiguration$Builder;->build()Landroidx/navigation/ui/AppBarConfiguration; move-result-object p2 .line 295 :cond_0 invoke-static {p0, p1, p2}, Landroidx/navigation/ui/NavigationUI;->setupActionBarWithNavController(Landroidx/appcompat/app/AppCompatActivity;Landroidx/navigation/NavController;Landroidx/navigation/ui/AppBarConfiguration;)V return-void .end method .method public static final setupWithNavController(Landroidx/appcompat/widget/Toolbar;Landroidx/navigation/NavController;)V .locals 2 .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation const-string v0, "toolbar" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "navController" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const/4 v0, 0x0 const/4 v1, 0x4 invoke-static {p0, p1, v0, v1, v0}, Landroidx/navigation/ui/NavigationUI;->setupWithNavController$default(Landroidx/appcompat/widget/Toolbar;Landroidx/navigation/NavController;Landroidx/navigation/ui/AppBarConfiguration;ILjava/lang/Object;)V return-void .end method .method public static final setupWithNavController(Landroidx/appcompat/widget/Toolbar;Landroidx/navigation/NavController;Landroidx/customview/widget/Openable;)V .locals 2 .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation const-string v0, "toolbar" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "navController" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 334 new-instance v0, Landroidx/navigation/ui/AppBarConfiguration$Builder; invoke-virtual {p1}, Landroidx/navigation/NavController;->getGraph()Landroidx/navigation/NavGraph; move-result-object v1 invoke-direct {v0, v1}, Landroidx/navigation/ui/AppBarConfiguration$Builder;->(Landroidx/navigation/NavGraph;)V .line 335 invoke-virtual {v0, p2}, Landroidx/navigation/ui/AppBarConfiguration$Builder;->setOpenableLayout(Landroidx/customview/widget/Openable;)Landroidx/navigation/ui/AppBarConfiguration$Builder; move-result-object p2 .line 336 invoke-virtual {p2}, Landroidx/navigation/ui/AppBarConfiguration$Builder;->build()Landroidx/navigation/ui/AppBarConfiguration; move-result-object p2 .line 331 invoke-static {p0, p1, p2}, Landroidx/navigation/ui/NavigationUI;->setupWithNavController(Landroidx/appcompat/widget/Toolbar;Landroidx/navigation/NavController;Landroidx/navigation/ui/AppBarConfiguration;)V return-void .end method .method public static final setupWithNavController(Landroidx/appcompat/widget/Toolbar;Landroidx/navigation/NavController;Landroidx/navigation/ui/AppBarConfiguration;)V .locals 1 .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation const-string v0, "toolbar" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "navController" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "configuration" invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 367 new-instance v0, Landroidx/navigation/ui/ToolbarOnDestinationChangedListener; invoke-direct {v0, p0, p2}, Landroidx/navigation/ui/ToolbarOnDestinationChangedListener;->(Landroidx/appcompat/widget/Toolbar;Landroidx/navigation/ui/AppBarConfiguration;)V check-cast v0, Landroidx/navigation/NavController$OnDestinationChangedListener; .line 366 invoke-virtual {p1, v0}, Landroidx/navigation/NavController;->addOnDestinationChangedListener(Landroidx/navigation/NavController$OnDestinationChangedListener;)V .line 369 new-instance v0, Landroidx/navigation/ui/NavigationUI$$ExternalSyntheticLambda4; invoke-direct {v0, p1, p2}, Landroidx/navigation/ui/NavigationUI$$ExternalSyntheticLambda4;->(Landroidx/navigation/NavController;Landroidx/navigation/ui/AppBarConfiguration;)V invoke-virtual {p0, v0}, Landroidx/appcompat/widget/Toolbar;->setNavigationOnClickListener(Landroid/view/View$OnClickListener;)V return-void .end method .method public static final setupWithNavController(Lcom/google/android/material/appbar/CollapsingToolbarLayout;Landroidx/appcompat/widget/Toolbar;Landroidx/navigation/NavController;)V .locals 7 .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation const-string v0, "collapsingToolbarLayout" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "toolbar" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "navController" invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const/4 v4, 0x0 const/16 v5, 0x8 const/4 v6, 0x0 move-object v1, p0 move-object v2, p1 move-object v3, p2 invoke-static/range {v1 .. v6}, Landroidx/navigation/ui/NavigationUI;->setupWithNavController$default(Lcom/google/android/material/appbar/CollapsingToolbarLayout;Landroidx/appcompat/widget/Toolbar;Landroidx/navigation/NavController;Landroidx/navigation/ui/AppBarConfiguration;ILjava/lang/Object;)V return-void .end method .method public static final setupWithNavController(Lcom/google/android/material/appbar/CollapsingToolbarLayout;Landroidx/appcompat/widget/Toolbar;Landroidx/navigation/NavController;Landroidx/customview/widget/Openable;)V .locals 2 .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation const-string v0, "collapsingToolbarLayout" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "toolbar" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "navController" invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 404 new-instance v0, Landroidx/navigation/ui/AppBarConfiguration$Builder; invoke-virtual {p2}, Landroidx/navigation/NavController;->getGraph()Landroidx/navigation/NavGraph; move-result-object v1 invoke-direct {v0, v1}, Landroidx/navigation/ui/AppBarConfiguration$Builder;->(Landroidx/navigation/NavGraph;)V .line 405 invoke-virtual {v0, p3}, Landroidx/navigation/ui/AppBarConfiguration$Builder;->setOpenableLayout(Landroidx/customview/widget/Openable;)Landroidx/navigation/ui/AppBarConfiguration$Builder; move-result-object p3 .line 406 invoke-virtual {p3}, Landroidx/navigation/ui/AppBarConfiguration$Builder;->build()Landroidx/navigation/ui/AppBarConfiguration; move-result-object p3 .line 402 invoke-static {p0, p1, p2, p3}, Landroidx/navigation/ui/NavigationUI;->setupWithNavController(Lcom/google/android/material/appbar/CollapsingToolbarLayout;Landroidx/appcompat/widget/Toolbar;Landroidx/navigation/NavController;Landroidx/navigation/ui/AppBarConfiguration;)V return-void .end method .method public static final setupWithNavController(Lcom/google/android/material/appbar/CollapsingToolbarLayout;Landroidx/appcompat/widget/Toolbar;Landroidx/navigation/NavController;Landroidx/navigation/ui/AppBarConfiguration;)V .locals 1 .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation const-string v0, "collapsingToolbarLayout" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "toolbar" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "navController" invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "configuration" invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 442 new-instance v0, Landroidx/navigation/ui/CollapsingToolbarOnDestinationChangedListener; invoke-direct {v0, p0, p1, p3}, Landroidx/navigation/ui/CollapsingToolbarOnDestinationChangedListener;->(Lcom/google/android/material/appbar/CollapsingToolbarLayout;Landroidx/appcompat/widget/Toolbar;Landroidx/navigation/ui/AppBarConfiguration;)V check-cast v0, Landroidx/navigation/NavController$OnDestinationChangedListener; .line 441 invoke-virtual {p2, v0}, Landroidx/navigation/NavController;->addOnDestinationChangedListener(Landroidx/navigation/NavController$OnDestinationChangedListener;)V .line 446 new-instance p0, Landroidx/navigation/ui/NavigationUI$$ExternalSyntheticLambda1; invoke-direct {p0, p2, p3}, Landroidx/navigation/ui/NavigationUI$$ExternalSyntheticLambda1;->(Landroidx/navigation/NavController;Landroidx/navigation/ui/AppBarConfiguration;)V invoke-virtual {p1, p0}, Landroidx/appcompat/widget/Toolbar;->setNavigationOnClickListener(Landroid/view/View$OnClickListener;)V return-void .end method .method public static final setupWithNavController(Lcom/google/android/material/navigation/NavigationBarView;Landroidx/navigation/NavController;)V .locals 1 .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation const-string v0, "navigationBarView" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "navController" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 630 new-instance v0, Landroidx/navigation/ui/NavigationUI$$ExternalSyntheticLambda2; invoke-direct {v0, p1}, Landroidx/navigation/ui/NavigationUI$$ExternalSyntheticLambda2;->(Landroidx/navigation/NavController;)V invoke-virtual {p0, v0}, Lcom/google/android/material/navigation/NavigationBarView;->setOnItemSelectedListener(Lcom/google/android/material/navigation/NavigationBarView$OnItemSelectedListener;)V .line 636 new-instance v0, Ljava/lang/ref/WeakReference; invoke-direct {v0, p0}, Ljava/lang/ref/WeakReference;->(Ljava/lang/Object;)V .line 638 new-instance p0, Landroidx/navigation/ui/NavigationUI$setupWithNavController$9; invoke-direct {p0, v0, p1}, Landroidx/navigation/ui/NavigationUI$setupWithNavController$9;->(Ljava/lang/ref/WeakReference;Landroidx/navigation/NavController;)V check-cast p0, Landroidx/navigation/NavController$OnDestinationChangedListener; .line 637 invoke-virtual {p1, p0}, Landroidx/navigation/NavController;->addOnDestinationChangedListener(Landroidx/navigation/NavController$OnDestinationChangedListener;)V return-void .end method .method public static final setupWithNavController(Lcom/google/android/material/navigation/NavigationBarView;Landroidx/navigation/NavController;Z)V .locals 1 .annotation runtime Landroidx/navigation/ui/NavigationUiSaveStateControl; .end annotation .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation const-string v0, "navigationBarView" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "navController" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V xor-int/lit8 v0, p2, 0x1 if-eqz v0, :cond_0 .line 691 new-instance v0, Landroidx/navigation/ui/NavigationUI$$ExternalSyntheticLambda5; invoke-direct {v0, p1, p2}, Landroidx/navigation/ui/NavigationUI$$ExternalSyntheticLambda5;->(Landroidx/navigation/NavController;Z)V invoke-virtual {p0, v0}, Lcom/google/android/material/navigation/NavigationBarView;->setOnItemSelectedListener(Lcom/google/android/material/navigation/NavigationBarView$OnItemSelectedListener;)V .line 694 new-instance p2, Ljava/lang/ref/WeakReference; invoke-direct {p2, p0}, Ljava/lang/ref/WeakReference;->(Ljava/lang/Object;)V .line 696 new-instance p0, Landroidx/navigation/ui/NavigationUI$setupWithNavController$12; invoke-direct {p0, p2, p1}, Landroidx/navigation/ui/NavigationUI$setupWithNavController$12;->(Ljava/lang/ref/WeakReference;Landroidx/navigation/NavController;)V check-cast p0, Landroidx/navigation/NavController$OnDestinationChangedListener; .line 695 invoke-virtual {p1, p0}, Landroidx/navigation/NavController;->addOnDestinationChangedListener(Landroidx/navigation/NavController$OnDestinationChangedListener;)V return-void .line 687 :cond_0 new-instance p0, Ljava/lang/IllegalStateException; const-string p1, "Leave the saveState parameter out entirely to use the non-experimental version of this API, which saves the state by default" invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String; move-result-object p1 invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V throw p0 .end method .method public static final setupWithNavController(Lcom/google/android/material/navigation/NavigationView;Landroidx/navigation/NavController;)V .locals 1 .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation const-string v0, "navigationView" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "navController" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 475 new-instance v0, Landroidx/navigation/ui/NavigationUI$$ExternalSyntheticLambda3; invoke-direct {v0, p1, p0}, Landroidx/navigation/ui/NavigationUI$$ExternalSyntheticLambda3;->(Landroidx/navigation/NavController;Lcom/google/android/material/navigation/NavigationView;)V invoke-virtual {p0, v0}, Lcom/google/android/material/navigation/NavigationView;->setNavigationItemSelectedListener(Lcom/google/android/material/navigation/NavigationView$OnNavigationItemSelectedListener;)V .line 490 new-instance v0, Ljava/lang/ref/WeakReference; invoke-direct {v0, p0}, Ljava/lang/ref/WeakReference;->(Ljava/lang/Object;)V .line 492 new-instance p0, Landroidx/navigation/ui/NavigationUI$setupWithNavController$4; invoke-direct {p0, v0, p1}, Landroidx/navigation/ui/NavigationUI$setupWithNavController$4;->(Ljava/lang/ref/WeakReference;Landroidx/navigation/NavController;)V check-cast p0, Landroidx/navigation/NavController$OnDestinationChangedListener; .line 491 invoke-virtual {p1, p0}, Landroidx/navigation/NavController;->addOnDestinationChangedListener(Landroidx/navigation/NavController$OnDestinationChangedListener;)V return-void .end method .method public static final setupWithNavController(Lcom/google/android/material/navigation/NavigationView;Landroidx/navigation/NavController;Z)V .locals 1 .annotation runtime Landroidx/navigation/ui/NavigationUiSaveStateControl; .end annotation .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation const-string v0, "navigationView" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "navController" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V xor-int/lit8 v0, p2, 0x1 if-eqz v0, :cond_0 .line 549 new-instance v0, Landroidx/navigation/ui/NavigationUI$$ExternalSyntheticLambda0; invoke-direct {v0, p1, p2, p0}, Landroidx/navigation/ui/NavigationUI$$ExternalSyntheticLambda0;->(Landroidx/navigation/NavController;ZLcom/google/android/material/navigation/NavigationView;)V invoke-virtual {p0, v0}, Lcom/google/android/material/navigation/NavigationView;->setNavigationItemSelectedListener(Lcom/google/android/material/navigation/NavigationView$OnNavigationItemSelectedListener;)V .line 564 new-instance p2, Ljava/lang/ref/WeakReference; invoke-direct {p2, p0}, Ljava/lang/ref/WeakReference;->(Ljava/lang/Object;)V .line 566 new-instance p0, Landroidx/navigation/ui/NavigationUI$setupWithNavController$7; invoke-direct {p0, p2, p1}, Landroidx/navigation/ui/NavigationUI$setupWithNavController$7;->(Ljava/lang/ref/WeakReference;Landroidx/navigation/NavController;)V check-cast p0, Landroidx/navigation/NavController$OnDestinationChangedListener; .line 565 invoke-virtual {p1, p0}, Landroidx/navigation/NavController;->addOnDestinationChangedListener(Landroidx/navigation/NavController$OnDestinationChangedListener;)V return-void .line 545 :cond_0 new-instance p0, Ljava/lang/IllegalStateException; const-string p1, "Leave the saveState parameter out entirely to use the non-experimental version of this API, which saves the state by default" invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String; move-result-object p1 invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V throw p0 .end method .method public static synthetic setupWithNavController$default(Landroidx/appcompat/widget/Toolbar;Landroidx/navigation/NavController;Landroidx/navigation/ui/AppBarConfiguration;ILjava/lang/Object;)V .locals 0 and-int/lit8 p3, p3, 0x4 if-eqz p3, :cond_0 .line 364 new-instance p2, Landroidx/navigation/ui/AppBarConfiguration$Builder; invoke-virtual {p1}, Landroidx/navigation/NavController;->getGraph()Landroidx/navigation/NavGraph; move-result-object p3 invoke-direct {p2, p3}, Landroidx/navigation/ui/AppBarConfiguration$Builder;->(Landroidx/navigation/NavGraph;)V invoke-virtual {p2}, Landroidx/navigation/ui/AppBarConfiguration$Builder;->build()Landroidx/navigation/ui/AppBarConfiguration; move-result-object p2 .line 360 :cond_0 invoke-static {p0, p1, p2}, Landroidx/navigation/ui/NavigationUI;->setupWithNavController(Landroidx/appcompat/widget/Toolbar;Landroidx/navigation/NavController;Landroidx/navigation/ui/AppBarConfiguration;)V return-void .end method .method public static synthetic setupWithNavController$default(Lcom/google/android/material/appbar/CollapsingToolbarLayout;Landroidx/appcompat/widget/Toolbar;Landroidx/navigation/NavController;Landroidx/navigation/ui/AppBarConfiguration;ILjava/lang/Object;)V .locals 0 and-int/lit8 p4, p4, 0x8 if-eqz p4, :cond_0 .line 439 new-instance p3, Landroidx/navigation/ui/AppBarConfiguration$Builder; invoke-virtual {p2}, Landroidx/navigation/NavController;->getGraph()Landroidx/navigation/NavGraph; move-result-object p4 invoke-direct {p3, p4}, Landroidx/navigation/ui/AppBarConfiguration$Builder;->(Landroidx/navigation/NavGraph;)V invoke-virtual {p3}, Landroidx/navigation/ui/AppBarConfiguration$Builder;->build()Landroidx/navigation/ui/AppBarConfiguration; move-result-object p3 .line 434 :cond_0 invoke-static {p0, p1, p2, p3}, Landroidx/navigation/ui/NavigationUI;->setupWithNavController(Lcom/google/android/material/appbar/CollapsingToolbarLayout;Landroidx/appcompat/widget/Toolbar;Landroidx/navigation/NavController;Landroidx/navigation/ui/AppBarConfiguration;)V return-void .end method .method private static final setupWithNavController$lambda$1(Landroidx/navigation/NavController;Landroidx/navigation/ui/AppBarConfiguration;Landroid/view/View;)V .locals 0 const-string p2, "$navController" invoke-static {p0, p2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string p2, "$configuration" invoke-static {p1, p2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 369 invoke-static {p0, p1}, Landroidx/navigation/ui/NavigationUI;->navigateUp(Landroidx/navigation/NavController;Landroidx/navigation/ui/AppBarConfiguration;)Z return-void .end method .method private static final setupWithNavController$lambda$2(Landroidx/navigation/NavController;Landroidx/navigation/ui/AppBarConfiguration;Landroid/view/View;)V .locals 0 const-string p2, "$navController" invoke-static {p0, p2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string p2, "$configuration" invoke-static {p1, p2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 446 invoke-static {p0, p1}, Landroidx/navigation/ui/NavigationUI;->navigateUp(Landroidx/navigation/NavController;Landroidx/navigation/ui/AppBarConfiguration;)Z return-void .end method .method private static final setupWithNavController$lambda$3(Landroidx/navigation/NavController;Lcom/google/android/material/navigation/NavigationView;Landroid/view/MenuItem;)Z .locals 1 const-string v0, "$navController" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "$navigationView" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "item" invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 476 invoke-static {p2, p0}, Landroidx/navigation/ui/NavigationUI;->onNavDestinationSelected(Landroid/view/MenuItem;Landroidx/navigation/NavController;)Z move-result p0 if-eqz p0, :cond_1 .line 478 invoke-virtual {p1}, Lcom/google/android/material/navigation/NavigationView;->getParent()Landroid/view/ViewParent; move-result-object p2 .line 479 instance-of v0, p2, Landroidx/customview/widget/Openable; if-eqz v0, :cond_0 .line 480 check-cast p2, Landroidx/customview/widget/Openable; invoke-interface {p2}, Landroidx/customview/widget/Openable;->close()V goto :goto_0 .line 482 :cond_0 check-cast p1, Landroid/view/View; invoke-static {p1}, Landroidx/navigation/ui/NavigationUI;->findBottomSheetBehavior(Landroid/view/View;)Lcom/google/android/material/bottomsheet/BottomSheetBehavior; move-result-object p1 if-eqz p1, :cond_1 const/4 p2, 0x5 .line 484 invoke-virtual {p1, p2}, Lcom/google/android/material/bottomsheet/BottomSheetBehavior;->setState(I)V :cond_1 :goto_0 return p0 .end method .method private static final setupWithNavController$lambda$5(Landroidx/navigation/NavController;ZLcom/google/android/material/navigation/NavigationView;Landroid/view/MenuItem;)Z .locals 1 const-string v0, "$navController" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "$navigationView" invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "item" invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 550 invoke-static {p3, p0, p1}, Landroidx/navigation/ui/NavigationUI;->onNavDestinationSelected(Landroid/view/MenuItem;Landroidx/navigation/NavController;Z)Z move-result p0 if-eqz p0, :cond_1 .line 552 invoke-virtual {p2}, Lcom/google/android/material/navigation/NavigationView;->getParent()Landroid/view/ViewParent; move-result-object p1 .line 553 instance-of p3, p1, Landroidx/customview/widget/Openable; if-eqz p3, :cond_0 .line 554 check-cast p1, Landroidx/customview/widget/Openable; invoke-interface {p1}, Landroidx/customview/widget/Openable;->close()V goto :goto_0 .line 556 :cond_0 check-cast p2, Landroid/view/View; invoke-static {p2}, Landroidx/navigation/ui/NavigationUI;->findBottomSheetBehavior(Landroid/view/View;)Lcom/google/android/material/bottomsheet/BottomSheetBehavior; move-result-object p1 if-eqz p1, :cond_1 const/4 p2, 0x5 .line 558 invoke-virtual {p1, p2}, Lcom/google/android/material/bottomsheet/BottomSheetBehavior;->setState(I)V :cond_1 :goto_0 return p0 .end method .method private static final setupWithNavController$lambda$6(Landroidx/navigation/NavController;Landroid/view/MenuItem;)Z .locals 1 const-string v0, "$navController" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "item" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 631 invoke-static {p1, p0}, Landroidx/navigation/ui/NavigationUI;->onNavDestinationSelected(Landroid/view/MenuItem;Landroidx/navigation/NavController;)Z move-result p0 return p0 .end method .method private static final setupWithNavController$lambda$8(Landroidx/navigation/NavController;ZLandroid/view/MenuItem;)Z .locals 1 const-string v0, "$navController" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "item" invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 692 invoke-static {p2, p0, p1}, Landroidx/navigation/ui/NavigationUI;->onNavDestinationSelected(Landroid/view/MenuItem;Landroidx/navigation/NavController;Z)Z move-result p0 return p0 .end method