Google 致力于为黑人社区推动种族平等。查看具体举措

FloatingWindow

public interface FloatingWindow

androidx.navigation.FloatingWindow


A marker interface for NavDestination subclasses that float above the view of other destinations (i.e. DialogFragmentNavigator.Destination).

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

NavController.OnDestinationChangedListener instances can also customize their behavior based on whether the destination is a FloatingWindow.