Since we update ImageView lazy, ImageUrl's lifecycle might not matched
what user think.
```
ImageUrl imageUrl = ~~~.GenerateUrl();
ImageView imageView = new ImageView(imageUrl.ToString());
imageUrl.Dispose(); ///< We should allow this situation.
```
To make scene, We allow to call UpdateImage(); synchoronously
if we use GeneratedUrl().
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
{
UpdateImage(ImageVisualProperty.URL, setValue);
}
+ // Special case. If we set GeneratedUrl, Create ImageVisual synchronously.
+ if(value.StartsWith("dali://") || value.StartsWith("enbuf://"))
+ {
+ UpdateImage();
+ }
}
}
}