Something doesn't work when the type in question is a generic type.
`
public class NonSelectableListView : ContentView
{
// Note: We are using IEnumerable<object> instead of IEnumerable for the ItemSource type to permit certain LINQ expressions more easily. We could consider going up to an
// IList which might be even better and have a Count property that doesn't require enumerating the list to calculate.
public static readonly BindableProperty ItemsSourceProperty = BindableProperty.Create(nameof(ItemsSource), typeof(IEnumerable<object>),
typeof(NonSelectableListView), propertyChanged: OnItemsSourceChanged);
public IEnumerable<object> ItemsSource
{
get => (IEnumerable<object>)GetValue(ItemsSourceProperty);
set => SetValue(ItemsSourceProperty, value);
}
Something doesn't work when the type in question is a generic type. `
`