From: sunghyun kim Date: Mon, 25 Sep 2023 04:38:06 +0000 (+0900) Subject: [NUI] Add widget list for keeping widget instance X-Git-Tag: accepted/tizen/unified/20231205.024657~119 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fa38f30d7f66e85c54d9a019f51057a51c8f3e45;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [NUI] Add widget list for keeping widget instance widget need to keep it's instance --- diff --git a/src/Tizen.NUI/src/public/Widget/Widget.cs b/src/Tizen.NUI/src/public/Widget/Widget.cs index a10d238..ce65cb5 100755 --- a/src/Tizen.NUI/src/public/Widget/Widget.cs +++ b/src/Tizen.NUI/src/public/Widget/Widget.cs @@ -46,6 +46,8 @@ namespace Tizen.NUI widgetImpl.WidgetInstanceResumed += OnWidgetInstanceResumed; widgetImpl.WidgetInstanceResized += OnWidgetInstanceResized; widgetImpl.WidgetInstanceUpdated += OnWidgetInstanceUpdated; + + (WidgetApplication.Instance as WidgetApplication)?.AddWidgetInstance(this); } internal Widget(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn)