From b5cd8ad8420c31ef119c29b6652999b268ea6af0 Mon Sep 17 00:00:00 2001 From: Jaehyun Cho <29364140+jaehyun0cho@users.noreply.github.com> Date: Fri, 27 Nov 2020 16:35:49 +0900 Subject: [PATCH] [NUI] Fix not to use setter of AnimatedImageView.URLs (#2303) 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 --- .../Tizen.NUI.Samples/Samples/AnimatedImageViewTest.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/Tizen.NUI.Samples/Tizen.NUI.Samples/Samples/AnimatedImageViewTest.cs b/test/Tizen.NUI.Samples/Tizen.NUI.Samples/Samples/AnimatedImageViewTest.cs index 53c1ca4..defb0c7 100755 --- a/test/Tizen.NUI.Samples/Tizen.NUI.Samples/Samples/AnimatedImageViewTest.cs +++ b/test/Tizen.NUI.Samples/Tizen.NUI.Samples/Samples/AnimatedImageViewTest.cs @@ -167,12 +167,10 @@ namespace Tizen.NUI.Samples box2 = new Box(new Size2D(root.Size2D.Width, GetRatio(40, root.Size2D.Height)), "Image array Test", ""); root.Add(box2); - var list = new List(); 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; -- 2.7.4