[NUI] Skip text getter when Text never setted before
authorEunki Hong <eunkiki.hong@samsung.com>
Thu, 7 Dec 2023 16:59:37 +0000 (01:59 +0900)
committerbshsqa <32317749+bshsqa@users.noreply.github.com>
Mon, 11 Dec 2023 06:49:58 +0000 (15:49 +0900)
commit0e399da6fd06eace2f6c2ddf70590e963ecd9248
tree9b5f1bc4cd494a3bff0b9faed90179586ceb199d
parent2c47fd681db9fedb64fe3ce4f4ad54fd9c0d0637
[NUI] Skip text getter when Text never setted before

If we never set text into TextLabel before, the result of Text propert getter is always empty.
To avoid useless C# - native network, let we just ignore text getter function if we can assume that previous text was empty.

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