[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 c2dbd3e..181dbe4 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);