[NUI] Make subclass of ImageView can use ResourceUrl normally.
authorEunki Hong <eunkiki.hong@samsung.com>
Mon, 19 Jun 2023 15:51:02 +0000 (00:51 +0900)
committerJaehyun Cho <jaehyun0cho@gmail.com>
Wed, 21 Jun 2023 03:04:41 +0000 (12:04 +0900)
commit9f07cc9eff5fd885b3d311c5fc64b7d37bf82006
tree25f4c9d8bcb075be206d51ed9220d4a8aad54dd2
parent733b5a666f50913ccb5447452612e0e5763fa568
[NUI] Make subclass of ImageView can use ResourceUrl normally.

If we skip to set ImageVisualType, or set ImageVisualType as Image,
we will try to find best visual by it's file format codes.
But previously, we fix the type of visual.
So, instead of some special case like URLs, just make we use Image type.

And also, make _resourceUrl latest value if we success to get url from visual.

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