You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// The Controller we need is a `protected internal` property called ItemsViewController in the ItemsViewHandler2 class: https://github.com/dotnet/maui/blob/70e8ddfd4bd494bc71aa7afb812cc09161cf0c72/src/Controls/src/Core/Handlers/Items2/ItemsViewHandler2.iOS.cs#L64
86
86
// In this method, we must use reflection to get the value of its backing field
return(ItemsViewController<TItemsView>)(controllerProperty.GetValue(handler)??thrownewInvalidOperationException($"Unable to get the value for the Controller property on {handler.GetType()}"));
92
+
return(ItemsViewController2<TItemsView>)(controllerProperty.GetValue(handler)??thrownewInvalidOperationException($"Unable to get the value for the Controller property on {handler.GetType()}"));
93
93
}
94
94
}
95
95
// If we don't find an ItemsView, default to the current UIViewController
0 commit comments