Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Make CollectionView SelectedItem and SelectedItems binding function correctly #6085

Merged
merged 10 commits into from
May 28, 2019

Conversation

hartez
Copy link
Contributor

@hartez hartez commented May 3, 2019

Description of Change

These changes make the SelectedItem property two-way bindable so that binding to the SelectedItem property works as expected.

These changes also update the SelectedItems property to be bindable from a viewmodel in an intuitive way.

Also adds automated tests for single and multiple selection binding.

Issues Resolved

API Changes

None

Platforms Affected

  • Core/XAML (all platforms)

Behavioral/Visual Changes

None

Before/After Screenshots

Not applicable

PR Checklist

  • Has automated tests
  • Rebased on top of the target branch at time of PR
  • Changes adhere to coding standard

Copy link
Contributor

@paymicro paymicro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems on the android tests do not pass.

Copy link
Member

@samhouts samhouts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

per @paymicro , failing tests

@samhouts samhouts moved this from In Review to In Progress in v4.0.0 May 9, 2019
@samhouts samhouts requested a review from paymicro May 9, 2019 03:27
@hartez
Copy link
Contributor Author

hartez commented May 14, 2019

per @paymicro , failing tests

The accursed Linker strikes again!

@hartez
Copy link
Contributor Author

hartez commented May 21, 2019

Remaining test failures are unrelated to this PR.

@samhouts samhouts changed the base branch from 4.0.0 to master May 28, 2019 17:53
@samhouts samhouts merged commit 3416555 into master May 28, 2019
v4.0.0 automation moved this from In Progress to Done May 28, 2019
@samhouts samhouts deleted the cv-selection-binding branch May 28, 2019 17:54
@samhouts samhouts added this to Done in v4.2.0 May 29, 2019
@samhouts samhouts removed this from Done in v4.0.0 May 29, 2019
@samhouts samhouts added this to the 4.1.0 milestone Jun 4, 2019
@samhouts samhouts removed this from Done in v4.2.0 Jun 4, 2019
@samhouts samhouts added this to Done in v4.1.0 Jun 4, 2019
@samhouts samhouts added proposal-open t/enhancement ➕ blocker Issue blocks next stable release. Prioritize fixing and reviewing this issue. t/bug 🐛 labels Jun 6, 2019
@samhouts samhouts added the approved Has two approvals, no pending reviews, and no changes requested label Jul 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a/collectionview approved Has two approvals, no pending reviews, and no changes requested blocker Issue blocks next stable release. Prioritize fixing and reviewing this issue. p/Android p/iOS 🍎 proposal-open t/bug 🐛 t/enhancement ➕
Projects
No open projects
v4.1.0
  
Done
4 participants