From 6859b970ebbe78a51c71aa42428355c4696d8c7c Mon Sep 17 00:00:00 2001 From: "everLEEst(SangHyeon Lee)" Date: Thu, 15 Dec 2022 21:27:35 -0800 Subject: [PATCH] [NUI] update imageUrl to resourceUrl --- .../Controls/RecyclerView/Item/DefaultGridItem.cs | 10 +++++----- .../RecyclerView/Item/DefaultGridItemBindableProperty.cs | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/Tizen.NUI.Components/Controls/RecyclerView/Item/DefaultGridItem.cs b/src/Tizen.NUI.Components/Controls/RecyclerView/Item/DefaultGridItem.cs index 843cdb5..7f32c01 100755 --- a/src/Tizen.NUI.Components/Controls/RecyclerView/Item/DefaultGridItem.cs +++ b/src/Tizen.NUI.Components/Controls/RecyclerView/Item/DefaultGridItem.cs @@ -165,20 +165,20 @@ namespace Tizen.NUI.Components } /// - /// Image image's resource url in DefaultGridItem. + /// Image resource url in DefaultGridItem. /// [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 { diff --git a/src/Tizen.NUI.Components/Controls/RecyclerView/Item/DefaultGridItemBindableProperty.cs b/src/Tizen.NUI.Components/Controls/RecyclerView/Item/DefaultGridItemBindableProperty.cs index 443e2e0..977d95c 100755 --- a/src/Tizen.NUI.Components/Controls/RecyclerView/Item/DefaultGridItemBindableProperty.cs +++ b/src/Tizen.NUI.Components/Controls/RecyclerView/Item/DefaultGridItemBindableProperty.cs @@ -44,21 +44,21 @@ namespace Tizen.NUI.Components /// - /// ImageUrlProperty + /// ResourceUrlProperty /// [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; }); /// -- 2.7.4