[NUI] update imageUrl to resourceUrl
authoreverLEEst(SangHyeon Lee) <sh10233.lee@samsung.com>
Fri, 16 Dec 2022 05:27:35 +0000 (21:27 -0800)
committerSangHyeon Jade Lee <dltkdgus1764@gmail.com>
Wed, 29 Mar 2023 05:40:29 +0000 (14:40 +0900)
src/Tizen.NUI.Components/Controls/RecyclerView/Item/DefaultGridItem.cs
src/Tizen.NUI.Components/Controls/RecyclerView/Item/DefaultGridItemBindableProperty.cs

index 843cdb5..7f32c01 100755 (executable)
@@ -165,20 +165,20 @@ namespace Tizen.NUI.Components
         }
 
         /// <summary>
-        /// Image image's resource url in DefaultGridItem.
+        /// Image resource url in DefaultGridItem.
         /// </summary>
         [EditorBrowsable(EditorBrowsableState.Never)]
-        public string ImageUrl
+        public string ResourceUrl
         {
-            get => GetValue(ImageUrlProperty) as string;
+            get => GetValue(ResourceUrlProperty) as string;
             set
             {
-                SetValue(ImageUrlProperty, value);
+                SetValue(ResourceUrlProperty, value);
                 NotifyPropertyChanged();
             }
         }
 
-        internal string InternalImageUrl
+        internal string InternalResourceUrl
         {
             get
             {
index 443e2e0..977d95c 100755 (executable)
@@ -44,21 +44,21 @@ namespace Tizen.NUI.Components
 
 
         /// <summary>
-        /// ImageUrlProperty
+        /// ResourceUrlProperty
         /// </summary>
         [EditorBrowsable(EditorBrowsableState.Never)]
-        public static readonly BindableProperty ImageUrlProperty = BindableProperty.Create(nameof(ImageUrl), typeof(string), typeof(DefaultGridItem), default(string), propertyChanged: (bindable, oldValue, newValue) =>
+        public static readonly BindableProperty ResourceUrlProperty = BindableProperty.Create(nameof(ResourceUrl), typeof(string), typeof(DefaultGridItem), default(string), propertyChanged: (bindable, oldValue, newValue) =>
         {
             var instance = (DefaultGridItem)bindable;
             if (newValue != null)
             {
-                instance.InternalImageUrl = newValue as string;
+                instance.InternalResourceUrl = newValue as string;
             }
         },
         defaultValueCreator: (bindable) =>
         {
             var instance = (DefaultGridItem)bindable;
-            return instance.InternalImageUrl;
+            return instance.InternalResourceUrl;
         });
 
         /// <summary>