diff --git a/SettingsView.iOS/Cells/PickerCellRenderer.cs b/SettingsView.iOS/Cells/PickerCellRenderer.cs index c4c0ad4..b7baee2 100644 --- a/SettingsView.iOS/Cells/PickerCellRenderer.cs +++ b/SettingsView.iOS/Cells/PickerCellRenderer.cs @@ -150,6 +150,11 @@ protected override void Dispose(bool disposing) _notifyCollection.CollectionChanged -= ItemsSourceCollectionChanged; _notifyCollection = null; } + if (_selectedCollection != null) + { + _selectedCollection.CollectionChanged -= SelectedItems_CollectionChanged; + _selectedCollection = null; + } } base.Dispose(disposing); } diff --git a/nuget/SettingsView_mac.nuspec b/nuget/SettingsView_mac.nuspec index 505c5ba..944d9c0 100644 --- a/nuget/SettingsView_mac.nuspec +++ b/nuget/SettingsView_mac.nuspec @@ -2,7 +2,7 @@ AiForms.SettingsView - 0.2.9 + 0.3.0 SettingsView for Xamarin.Forms kamu kamu @@ -16,7 +16,7 @@ There are various cells such as (LabelCell,ButtonCell,CommandCell,SwitchCell,Che ## Bug fixes -* [PickerCell] When the SelectedItems is changed programmatically, the new value text is not shown. (#16) +* [PickerCell] When opening two times, a null exception occurs. (#39) Xamarin.Forms TableView Cell Setting Configuration Option ListView UITableView RecyclerView ReOrder DragDrop en-US