[NUI] Allow to use null rootView for FrameUpdateCallback + Let we use null rootView...
authorEunki, Hong <eunkiki.hong@samsung.com>
Mon, 29 Jan 2024 03:39:19 +0000 (12:39 +0900)
committerEunki Hong <h.pichulia@gmail.com>
Tue, 20 Feb 2024 09:33:15 +0000 (18:33 +0900)
commit1b0680b5d2ebe57d37e0d05bcfb5327dc2141e0d
tree31401f7658dd7a7e1d554e5e44194a0e877d4366
parent11d4d32bf5a62535a66a3b8d4d040e4d7051dc9f
[NUI] Allow to use null rootView for FrameUpdateCallback + Let we use null rootView if we use default API

Let we use some global view controllable frameUpdateCallback when
user skip to add RootView information.

Previously, we detach the frameUpdateCallback automatically if rootView was disposed.
But now, we will never remove callback until user call RemoveFrameUpdateCallback.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
src/Tizen.NUI/src/public/Window/Window.cs
test/Tizen.NUI.Samples/Tizen.NUI.Samples/Samples/FrameUpdateCallbackTest.cs