Package 

Class NavScaffoldViewModel


  • 
    public class NavScaffoldViewModel
    extends ViewModel
                        

    A ViewModel that backs the WearNavScaffold to allow each composable to interact and effect the Scaffold positionIndicator, vignette and timeText.

    A ViewModel is used to allow the same current instance to be shared between the WearNavScaffold and the composable screen via NavHostController.currentBackStackEntry.