I try to use a CollectionView in a other CollectionView like this. My problem is there wont display me the second CV like there dont have a source. I guess the BindingContex can be the problem but i dont have a idea how i fix it.
<CollectionView
SelectionMode="Single"
ItemsSource="{Binding MainInfo}">
<CollectionView.ItemsLayout>
<LinearItemsLayout ItemSpacing="10" Orientation="Vertical" />
</CollectionView.ItemsLayout>
<CollectionView.ItemTemplate>
<DataTemplate>
<StackLayout>
<Label Text="{Binding UserName}"/>
<!--Horizontal CV-->
<CollectionView
SelectionMode="Single"
ItemsSource="{Binding MainInfo}"
>
<CollectionView.ItemsLayout>
<LinearItemsLayout ItemSpacing="10" Orientation="Horizontal" />
</CollectionView.ItemsLayout>
<CollectionView.ItemTemplate>
<DataTemplate>
<StackLayout>
<Label Text="{Binding ImageUrl}"/>
<Label Text="{Binding FullName}"/>
</StackLayout>
</DataTemplate>
</CollectionView.ItemTemplate>
</CollectionView>
</StackLayout>
</DataTemplate>
</CollectionView.ItemTemplate>
</CollectionView>