Function

Navigation

A DeviceConfigurationOverride that overrides the current navigation type and whether it is hidden.

Source set: Android
public fun DeviceConfigurationOverride.Companion.Navigation(
    @NavigationType navigationType: Int,
    isHidden: Boolean = false,
): DeviceConfigurationOverride

A DeviceConfigurationOverride that overrides the current navigation type and whether it is hidden.

Parameters

navigationType the navigation type to render the content under test in. This should be one of the Configuration.NAVIGATION_* values.
isHidden if true, render the content under test with hidden navigation.

Return

a DeviceConfigurationOverride that specifies the navigation type for the content under test.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: