I have a simple question. I have two datatemplates defined on my Xamarin Forms page. I want to swap one in for the other when a button is pressed. I know with a ListView I can use the ItemTemplate and bind to my DataTemplateSelector to change views for the items in the list.
But I just want to swap something like a View/StackLayout/Frame by running the DataTemplateSelector on a button click or similar. But I can't find any controls that offer an ItemTemplate list ListView.
Is there a control that can accomplish this?