-
@Stable() public interface NavHostState<T extends Object>Stores and manages saved state and all Android architecture components (Lifecycle, ViewModelStore, SavedStateRegistry) for every entry.
-
-
Method Summary
Modifier and Type Method Description abstract List<NavHostEntry<T>>getHostEntries()List of all current NavHostEntries in the same order their associated entries appear in the backstack. -
-
Method Detail
-
getHostEntries
abstract List<NavHostEntry<T>> getHostEntries()
List of all current NavHostEntries in the same order their associated entries appear in the backstack.
The last entry of this list is always the currently displayed entry.
-
-
-
-