-
public final class NavHostScopeKt
-
-
Field Summary
Fields Modifier and Type Field Description private final static NavHostEntry<T>currentHostEntry
-
Method Summary
Modifier and Type Method Description final NavHostEntry<T>getCurrentHostEntry()final static <T extends Any> NavHostEntry<T>findHostEntry(NavHostScope<T> $self, Match match, Function1<T, Boolean> predicate)Utility method to search through NavHostScope.hostEntries. -
-
Method Detail
-
getCurrentHostEntry
final NavHostEntry<T> getCurrentHostEntry()
-
findHostEntry
@Deprecated(message = Access hostEntries directly) final static <T extends Any> NavHostEntry<T> findHostEntry(NavHostScope<T> $self, Match match, Function1<T, Boolean> predicate)
Utility method to search through NavHostScope.hostEntries. Returns the item that matches the specified predicate or
nullwhen nothing could be matched.- Parameters:
match- specifies the policy of selecting the target item in case of multiple matching items.
-
-
-
-