summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core
diff options
context:
space:
mode:
authoradrianknight89 <adrianknight89@outlook.com>2017-01-03 11:34:27 (GMT)
committerRui Marinho <me@ruimarinho.net>2017-01-03 11:34:27 (GMT)
commit17cdd40d1d7159e5ea40d85dc596cb00e6db69a5 (patch)
tree614d4a5ff0a2ad3b465f2ad4ce386cca02525308 /Xamarin.Forms.Core
parent6fc18e058bc5bf7eb645fcd91ffdaf6974dfb375 (diff)
downloadxamarin-forms-17cdd40d1d7159e5ea40d85dc596cb00e6db69a5.zip
xamarin-forms-17cdd40d1d7159e5ea40d85dc596cb00e6db69a5.tar.gz
xamarin-forms-17cdd40d1d7159e5ea40d85dc596cb00e6db69a5.tar.bz2
Return group instead of internal class (#461)
Diffstat (limited to 'Xamarin.Forms.Core')
-rw-r--r--Xamarin.Forms.Core/ListView.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.Forms.Core/ListView.cs b/Xamarin.Forms.Core/ListView.cs
index dcc13e6..8b4fc53 100644
--- a/Xamarin.Forms.Core/ListView.cs
+++ b/Xamarin.Forms.Core/ListView.cs
@@ -1,9 +1,9 @@
using System;
using System.Collections;
using System.Diagnostics;
+using System.Linq;
using System.Windows.Input;
using Xamarin.Forms.Platform;
-using Xamarin.Forms.Internals;
namespace Xamarin.Forms
{
@@ -409,7 +409,7 @@ namespace Xamarin.Forms
cell.OnTapped();
- ItemTapped?.Invoke(this, new ItemTappedEventArgs(group, cell.BindingContext));
+ ItemTapped?.Invoke(this, new ItemTappedEventArgs(ItemsSource.Cast<object>().ElementAt(groupIndex), cell.BindingContext));
}
internal void NotifyRowTapped(int index, Cell cell = null)