[NUI][API10] Fix a SVACE issue in RecyclerViewItem.cs
authorhuayong.xu <huayong.xu@samsung.com>
Tue, 16 May 2023 05:17:03 +0000 (13:17 +0800)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 16 May 2023 11:22:00 +0000 (20:22 +0900)
src/Tizen.NUI.Components/Controls/RecyclerView/Item/RecyclerViewItem.cs

index 43f080e..3f387ca 100755 (executable)
@@ -68,7 +68,7 @@ namespace Tizen.NUI.Components
                         else if (collectionView.SelectionMode is ItemSelectionMode.Multiple)
                         {
                             var selectedList = collectionView.SelectedItems;
-                            if (selectedList != null)
+                            if (selectedList != null && context != null)
                             {
                                 bool contains = selectedList.Contains(context);
                                 if (newSelected && !contains)