NavControllerKt
Added in 2.4.0
public final class NavControllerKt
Summary
Public methods |
|
|---|---|
static final boolean |
navigateUp(Handles the Up button by delegating its behavior to the given |
static final boolean |
navigateUp(@NonNull NavController receiver, Openable drawerLayout)Handles the Up button by delegating its behavior to the given |
Public methods
navigateUp
public static final boolean navigateUp(
@NonNull NavController receiver,
@NonNull AppBarConfiguration appBarConfiguration
)
Handles the Up button by delegating its behavior to the given NavController.
| Returns | |
|---|---|
boolean |
True if the |
navigateUp
public static final boolean navigateUp(@NonNull NavController receiver, Openable drawerLayout)
Handles the Up button by delegating its behavior to the given NavController.
This is equivalent to calling NavController.navigateUp if the Openable layout is null.
| Returns | |
|---|---|
boolean |
True if the |