From 265c88f2439dc75d215f4057babeae383e45600b Mon Sep 17 00:00:00 2001 From: "everLEEst(SangHyeon Lee)" Date: Thu, 1 Dec 2022 23:01:44 -0800 Subject: [PATCH] [NUI] fix group remove error. --- .../Controls/RecyclerView/Layouter/GridLayouter.cs | 1 + .../Controls/RecyclerView/Layouter/LinearLayouter.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Tizen.NUI.Components/Controls/RecyclerView/Layouter/GridLayouter.cs b/src/Tizen.NUI.Components/Controls/RecyclerView/Layouter/GridLayouter.cs index 97eee4151..67b126c3d 100755 --- a/src/Tizen.NUI.Components/Controls/RecyclerView/Layouter/GridLayouter.cs +++ b/src/Tizen.NUI.Components/Controls/RecyclerView/Layouter/GridLayouter.cs @@ -858,6 +858,7 @@ namespace Tizen.NUI.Components // Remove Group // groupInfo.Dispose(); groups.Remove(groupInfo); + parentIndex--; } else { diff --git a/src/Tizen.NUI.Components/Controls/RecyclerView/Layouter/LinearLayouter.cs b/src/Tizen.NUI.Components/Controls/RecyclerView/Layouter/LinearLayouter.cs index b6e73af3d..8487658a3 100755 --- a/src/Tizen.NUI.Components/Controls/RecyclerView/Layouter/LinearLayouter.cs +++ b/src/Tizen.NUI.Components/Controls/RecyclerView/Layouter/LinearLayouter.cs @@ -961,6 +961,7 @@ namespace Tizen.NUI.Components // Remove Group // groupInfo.Dispose(); groups.Remove(groupInfo); + parentIndex--; } else { -- 2.34.1