-
Notifications
You must be signed in to change notification settings - Fork 555
Description
In the carplay framework, it's impossible to use the new CPListImageRowItem from ios 14 with the current version of xamarin-ios-14.2.0.12.
In the Apple ios api, the init function for CPListSection is (NSArray<id> *)items;
Both CPListItem and CPListImageRowItem implements CPListTemplateItem via CPSelectableListItem, but the Xamarin API doesn't allow CPListTemplateItem in the constructor.
Actual Behavior
In Xamarin, CPListSection constructor is takes a CPListItem [] items, but CPListImageRowItem doesn't inherit from this interface.
Both CPListItem and CPListImageRowItem have the CPSelectableListItem interface.
We can't create a CPListSection with CPListImageRowItem
Expected Behavior
We should be able to create CPListSection with CPListTemplateItem. The binding should probably be change to make
CPListSection constructor take an array of CPListTemplateItem instead of CPListItem