How to change views (list, grid etc.) inside a view/tab?

Hey guys,

I’m pretty new to the ionic world and I’ve done some video2brain lessons and I really love it so far. I was able to solve all my problems thanks to this forum and stackoverflow but now I’m facing something that seems to be too big for me at the moment. :slight_smile:

I have a view (accessed through a main tab) called Movies and I present a list of movies there. Now I’d like to be able to click on a grid-view-icon in order to change the list into a grid-view. I’ve created three .html files so far:

  • movies.html
  • movies_grid.html
  • movies_slide.html

Can you show me an elegant way to switch or navigate between those views? The navbar elements do also depend on the view, e.g. I don’t need a removal function in the grid or slide view.

And another thing, same topic though, is the following:

I’d like to use sub-tabs in order to navigate deeper, like:

  • Movies
    – Watchlist
    – My Movies
    – …

Is there also an nice way to implement that?

I appreciate every hint and I’m really looking forward to hearing from you!

  • Martin