[NUI] Clean BackgroundImage setter logic
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 8 May 2024 12:34:59 +0000 (21:34 +0900)
committerbshsqa <32317749+bshsqa@users.noreply.github.com>
Mon, 13 May 2024 07:08:49 +0000 (16:08 +0900)
commitcb0a81a14408a152de54f7ef2a825fe449abb4be
tree5ffdfbbea12737d5cc155dfb972b3c10ce202346
parent32df29a8af2f5812ab866cfdf76db3924aff14f3
[NUI] Clean BackgroundImage setter logic

Usually we load image load asynchronously as default.

(The only one except case is lottie.
But most of cases we don't need to consider
set BackgroundImage as Lottie file.)

So, for usual cases, we don't need to apply the informations whether
we need to load image synchronously or not.

But previous implementation set `BackgroundImageSynchronousLoading` forcibly.

It might required `BackgroundImage` getter, what we don't need to know.

And also, it doesn't skip this getter/setter logic when the value is same as previous.

To avoid this useless visual creation, let we consider for backgroundImageSynchronousLoading
property works well and works faster for usual cases, who don't set this property.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
src/Tizen.NUI/src/public/BaseComponents/View.cs
src/Tizen.NUI/src/public/BaseComponents/ViewBindableProperty.cs