-
I have a test app and I have been unable to get ListView Selection to work in Android. I am adding the ListView Xaml, maybe there is something missing for Android that I don't know about. I am running the latest release in Visual Studio 2022 17.4 Preview 2 and recently installed the Uno Templates (6/16), I have not installed any other extensions. <ListView Name="BrowseInv" Grid.Row="2" ItemsSource="{x:Bind CollectionView.View}" ItemTemplate="{StaticResource DisplayItem}"
SelectionChanged="BrowseInv_Changed" VerticalAlignment="Stretch"
Width="230"
SelectedItem="{x:Bind SelectedItem}">
<ListView.ItemsPanel>
<ItemsPanelTemplate>
<ItemsWrapGrid MaximumRowsOrColumns="2" Orientation="Horizontal"/>
</ItemsPanelTemplate>
</ListView.ItemsPanel>
<ListView.GroupStyle>
<GroupStyle HeaderTemplate="{StaticResource DisplayHeader}"/>
</ListView.GroupStyle>
</ListView> |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Thanks for the report. It's likely that the issue you're seeing is related to the use of Otherwise, you can try to see if this works on UWP or WinUI and let us know. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Found the problem, can't use CollectionViewSource. |
Beta Was this translation helpful? Give feedback.
Found the problem, can't use CollectionViewSource.