I'm making a custom control and how can I pass other View into it?
In my case I want to pass in a custom ViewCell to my custom ListView so I could re-use this custom control with different item sources and their proper ViewCells:
<ContentView xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Foobar.Base.Views.LazyListView">
<ContentView.Content>
<StackLayout>
<Label Text ="Custom ListView"></Label>
<CustomListView ItemsSource="{Binding Items}">
<CustomListView .ItemTemplate>
** <!--Render a custom ViewCell that was passed in to the custom control-->**
</CustomListView.ItemTemplate>
</CustomListView >
</StackLayout>
</ContentView.Content>
</ContentView>
Should I use something like x:Arguments for it?