The setter of AnimatedImageView.URLs was removed to resolve CA2227.
Therefore, the setter of AnimatedImageView.URLs in sample code is also
removed.
Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
box2 = new Box(new Size2D(root.Size2D.Width, GetRatio(40, root.Size2D.Height)), "Image array Test", "");
root.Add(box2);
- var list = new List<string>();
for (int i = 1; i <= 8; i++)
{
- list.Add(resPath + "images/AGIF/dog-anim-00" + i + ".png");
+ box2.image.URLs.Add(resPath + "images/AGIF/dog-anim-00" + i + ".png");
}
- box2.image.URLs = list;
box2.image.Play();
box2.but1.Clicked += But1_Clicked1;