Creating fixed content bar when change page/route?

Hello guys,

I’m new to Ionic 2 + Angular 2. I’m building a music app like as Apple Music App. I’m stucking at creating a fixed bar for the player audio. I want to keep the player always play even user change pages/routes. Guys have any ideas or solutions about this? Screenshot attached below.

Any helps should be much appreciated!
Thank you.

  • Carl.

Anyone can give the help on that fixed player bar from the screenshot?

Much appreciated!

Hello.

Take a look at the ionic’s toolbar component docs:


I think it may do what you want. Then I think you can create a provider to keep track of the toolbar player state.

Hi danielsousat,

Thank you so much for the help. I will follow those links to learning.

Cheers!