Apply initial value of Cell.IsEnabled
authorSeungkeun Lee <sngn.lee@samsung.com>
Tue, 27 Dec 2016 00:50:52 +0000 (09:50 +0900)
committerKangho Hur <kangho.hur@samsung.com>
Mon, 24 Apr 2017 04:36:45 +0000 (13:36 +0900)
 - Cell.IsEnabled was false when listview was created, this value was not applied to listview

Change-Id: I1ddc23c440189c5bcca762194b9c91c80bc1c8a6

Xamarin.Forms.Platform.Tizen/Native/ListView.cs

index e932a28..f5047b3 100644 (file)
@@ -501,6 +501,7 @@ namespace Xamarin.Forms.Platform.Tizen.Native
                        }
 
                        groupItemContext.Item.SelectionMode = GenListSelectionMode.None;
+                       groupItemContext.Item.IsEnabled = groupCell.IsEnabled;
                        groupItemContext.IsGroupItem = true;
 
                        groupItemContext.ListOfSubItems = groupList;
@@ -543,6 +544,7 @@ namespace Xamarin.Forms.Platform.Tizen.Native
                        }
 
                        itemContext.Item.SelectionMode = GenListSelectionMode.Always;
+                       itemContext.Item.IsEnabled = cell.IsEnabled;
 
                        cell.PropertyChanged += OnCellPropertyChanged;
                        (cell as ICellController).ForceUpdateSizeRequested += OnForceUpdateSizeRequested;