entryProvider

fun ComponentCallbacks.entryProvider(mode: LazyThreadSafetyMode = LazyThreadSafetyMode.SYNCHRONIZED): Lazy<EntryProvider>

Creates a lazy EntryProvider by collecting all EntryProviderInstaller instances from the Koin scope associated with this ComponentCallbacks.

This function aggregates all registered navigation entry providers and creates a composite provider that delegates to all registered installers.

Return

A lazy delegate that provides the EntryProvider when first accessed

Parameters

mode

The lazy initialization mode. Defaults to LazyThreadSafetyMode.SYNCHRONIZED for thread-safe lazy initialization.

See also

getEntryProvider

for eager initialization