# FloatingWindow

Artifact: [androidx.navigation:navigation-common](https://developer.android.com/jetpack/androidx/releases/navigation) [View Source](https://cs.android.com/search?q=file:androidx/navigation/FloatingWindow.kt+class:androidx.navigation.FloatingWindow) Added in [2.1.0](https://developer.android.com/jetpack/androidx/releases/navigation#2.1.0)

*** ** * ** ***


```
public interface FloatingWindow
```

<br />

Known direct subclasses [DialogFragmentNavigator.Destination](https://developer.android.com/reference/androidx/navigation/fragment/DialogFragmentNavigator.Destination)

|---|---|
| `https://developer.android.com/reference/androidx/navigation/fragment/DialogFragmentNavigator.Destination` | NavDestination specific to `https://developer.android.com/reference/androidx/navigation/fragment/DialogFragmentNavigator`. |

*** ** * ** ***

A marker interface for `https://developer.android.com/reference/androidx/navigation/NavDestination` subclasses that float above the view of other destinations (i.e. [androidx.navigation.fragment.DialogFragmentNavigator.Destination](https://developer.android.com/reference/androidx/navigation/fragment/DialogFragmentNavigator.Destination)).

Destinations that implement this interface will automatically be popped off the back stack when you navigate to a new destination.

`https://developer.android.com/reference/androidx/navigation/NavController.OnDestinationChangedListener` instances can also customize their behavior based on whether the destination is a FloatingWindow.