projects
/
platform
/
core
/
csapi
/
xsf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87d720c
)
fix reflection call uwp (#8636)
author
Shane Neuville
<shneuvil@microsoft.com>
Sun, 24 Nov 2019 18:16:20 +0000
(11:16 -0700)
committer
GitHub
<noreply@github.com>
Sun, 24 Nov 2019 18:16:20 +0000
(11:16 -0700)
Xamarin.Forms.Platform.UAP/ListViewRenderer.cs
patch
|
blob
|
history
diff --git
a/Xamarin.Forms.Platform.UAP/ListViewRenderer.cs
b/Xamarin.Forms.Platform.UAP/ListViewRenderer.cs
index
ce44e9c
..
d9149ef
100644
(file)
--- a/
Xamarin.Forms.Platform.UAP/ListViewRenderer.cs
+++ b/
Xamarin.Forms.Platform.UAP/ListViewRenderer.cs
@@
-777,7
+777,7
@@
namespace Xamarin.Forms.Platform.UWP
{
bool areEqual = false;
- if (Element.SelectedItem != null && Element.SelectedItem.GetType().IsValueType)
+ if (Element.SelectedItem != null && Element.SelectedItem.GetType().
GetTypeInfo().
IsValueType)
areEqual = Element.SelectedItem.Equals(List.SelectedItem);
else
areEqual = Element.SelectedItem == List.SelectedItem;