hides the view
$$("mylist").hide();
The same effect can be achieved if you set the hidden parameter in the view constructor.
As an alternative to the hide / show api, you can use the ui.multiview component to switch between views.