Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Android] SelectableItemsViewAdapter: update SelectableViewHolder on selection changes #6249

Merged
merged 3 commits into from
Apr 20, 2022

Conversation

antonfirsov
Copy link
Member

Description of Change

UpdateMauiSelection should update SelectableViewHolder.IsSelected according to the new selection in order to trigger VisualStateManager, otherwise VisualState-s are not applied on Android.

AndroidSelection

Issues Fixed

Fixes #5449

@jsuarezruiz jsuarezruiz added area-controls-collectionview CollectionView, CarouselView, IndicatorView platform/android 🤖 labels Apr 20, 2022
@rmarinho rmarinho merged commit 24baac5 into dotnet:main Apr 20, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Dec 23, 2023
@samhouts samhouts added the fixed-in-6.0.300-rc.2 Look for this fix in 6.0.300-rc.2! label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView fixed-in-6.0.300-rc.2 Look for this fix in 6.0.300-rc.2! platform/android 🤖
Projects
None yet
Development

Successfully merging this pull request may close these issues.

VisualStateManager does not seem to work on Android
4 participants