[NUI] Clean up unused api (#1785)
authorneostom432 <31119276+neostom432@users.noreply.github.com>
Thu, 2 Jul 2020 08:05:58 +0000 (17:05 +0900)
committerGitHub <noreply@github.com>
Thu, 2 Jul 2020 08:05:58 +0000 (17:05 +0900)
Clean up unused apis which is for making CustomView.
Theses apis are already calling in VisualView.

src/Tizen.NUI.Components/Controls/ScrollableBase.cs

index c2dbd3ea8f023542d76540fd1c5d134382d8e76c..181dbe4fbd435bd3fc506f1262d68466f748e74f 100755 (executable)
@@ -698,19 +698,6 @@ namespace Tizen.NUI.Components
             }
         }
 
-        // static constructor registers the control type
-        static ScrollableBase()
-        {
-            // ViewRegistry registers control type with DALi type registry
-            // also uses introspection to find any properties that need to be registered with type registry
-            CustomViewRegistry.Instance.Register(CreateInstance, typeof(ScrollableBase));
-        }
-
-        internal static CustomView CreateInstance()
-        {
-            return new ScrollableBase();
-        }
-
         private void AnimateChildTo(int duration, float axisPosition)
         {
             Debug.WriteLineIf(LayoutDebugScrollableBase, "AnimationTo Animation Duration:" + duration + " Destination:" + axisPosition);