Creating fixed content bar when change page/route?


#1

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.


#2

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

Much appreciated!


#3

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.


#4

Hi danielsousat,

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

Cheers!