[NUIComponents] Roll back error modification
authorAdunFang <xiaohui.fang@samsung.com>
Wed, 14 Jun 2023 22:55:52 +0000 (07:55 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Fri, 16 Jun 2023 08:50:09 +0000 (17:50 +0900)
src/Tizen.NUI.Components/Controls/ScrollableBase.cs
src/Tizen.NUI/src/public/Common/Container.cs

index 74b678a..ae69472 100755 (executable)
@@ -1115,16 +1115,6 @@ namespace Tizen.NUI.Components
         }
 
         /// <summary>
-        /// return the children of ContentContainer when user try to get the children of ScrollableBase.
-        /// </summary>
-        /// <returns></returns>
-        [EditorBrowsable(EditorBrowsableState.Never)]
-        protected override List<View> GetChildren()
-        {
-            return ContentContainer.Children;
-        }
-
-        /// <summary>
         /// Scrolls to the item at the specified index.
         /// </summary>
         /// <param name="index">Index of item.</param>
index 823ca55..13577bf 100755 (executable)
@@ -107,7 +107,7 @@ namespace Tizen.NUI
         {
             get
             {
-                return GetChildren();
+                return childViews;
             }
         }
 
@@ -327,16 +327,6 @@ namespace Tizen.NUI
         }
 
         /// <summary>
-        /// Some type which inherit from Container overwrite the Add/Remove, so the getter of children should also be overwrite.
-        /// </summary>
-        /// <returns></returns>
-        [EditorBrowsable(EditorBrowsableState.Never)]
-        protected virtual List<View> GetChildren()
-        {
-            return childViews;
-        }
-
-        /// <summary>
         /// Invoked whenever the binding context of the element changes. Implement this method to add class handling for this event.
         /// </summary>
         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.