개선
This commit is contained in:
@@ -64,14 +64,12 @@ namespace SHI.modal
|
||||
{
|
||||
listView.OnItemSelected += data =>
|
||||
{
|
||||
Debug.Log($"BlockDetailModal: ListView OnItemSelected, data:{data==null}");
|
||||
if (data == null) return;
|
||||
HandleSelection(data.Id, "ListView");
|
||||
};
|
||||
|
||||
listView.OnItemDeselected += data =>
|
||||
{
|
||||
Debug.Log("BlockDetailModal: ListView OnItemDeselected");
|
||||
HandleDeselection(data.Id, "ListView");
|
||||
};
|
||||
|
||||
@@ -156,7 +154,7 @@ namespace SHI.modal
|
||||
_idToKey[it.Id] = it.ExternalKey;
|
||||
}
|
||||
}
|
||||
if (listView != null) listView.Populate(items);
|
||||
if (listView != null) listView.SetupData(items);
|
||||
if (chartView != null) chartView.LoadData(gantt);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user