Not all applications switch back and forth, you can connect the navigation service Waze with Spotify. Thus, you will see either your Spotify Playlist below Waze or the current Navigation under Spotify.
Spotify and Waze Navigation and music connect Streaming
Start Waze on your Smartphone.
You can open the menu by swiping from the left edge of the screen to the middle.
Top left is a Gear icon, with the settings able to open is located.
Scroll down until the Option "Spotify" will appear.
Don't connect the Slider under "Spotify" to "A".
In the navigation view of Waze, the Spotify icon will now appear at the top right and you can control your music directly from the Waze App.
If you start a Navigation with Waze is integrated with the App also the other way around in Spotify.