summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core/ListView.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Core/ListView.cs')
-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 dcc13e69..8b4fc53d 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)