Remove build warning
authorEunki Hong <eunkiki.hong@samsung.com>
Sun, 15 Oct 2023 01:13:11 +0000 (10:13 +0900)
committerEunki Hong <h.pichulia@gmail.com>
Tue, 31 Oct 2023 14:07:28 +0000 (23:07 +0900)
- Add comment for public API
- Remove some unused private value/method

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
src/Tizen.NUI.Wearable/src/public/CircularPagination.cs
src/Tizen.NUI.Wearable/src/public/RecyclerView/RecyclerView.cs
src/Tizen.NUI.Wearable/src/public/WearableList.cs

index 70183d2..3258e8e 100755 (executable)
@@ -47,8 +47,6 @@ namespace Tizen.NUI.Wearable
         private bool isCurrentIndicatorCentered = false; // When the current indicator is the center one, this variable becomes true.
         private bool isOddNumber = true;
         private bool uninitializedLeftIndicator = true; // Need it when the indicators are asymmetry and the right indicator count is set earlier than left one.
-        private Animation selectAnimation = null;
-        private bool isNeedAnimation = false; // TODO : Animation will support using override function later.
 
         Position2D[] oddArray = new Position2D[] { new Position2D(36, 74), new Position2D(47, 60), new Position2D(60, 47), new Position2D(74, 36),
                                                    new Position2D(89, 26), new Position2D(105, 18), new Position2D(122, 11), new Position2D(139, 7),
@@ -203,7 +201,6 @@ namespace Tizen.NUI.Wearable
             }
         }
 
-
         /// <summary>
         /// Gets or sets the number of the pages/indicators.
         ///
@@ -516,14 +513,6 @@ namespace Tizen.NUI.Wearable
             UpdateVisual();
         }
 
-        private void CreateSelectAnimation()
-        {
-            if (selectAnimation == null)
-            {
-                selectAnimation = new Animation(250);
-            }
-        }
-
         /// <summary>
         /// You can override it to do your select out operation.
         /// </summary>
@@ -593,16 +582,6 @@ namespace Tizen.NUI.Wearable
 
             if (type == DisposeTypes.Explicit)
             {
-                if (selectAnimation != null)
-                {
-                    if (selectAnimation.State == Animation.States.Playing)
-                    {
-                        selectAnimation.Stop();
-                    }
-                    selectAnimation.Dispose();
-                    selectAnimation = null;
-                }
-
                 container.RemoveAll();
                 indicatorList.Clear();
 
index 94e2c2d..a311455 100755 (executable)
@@ -76,6 +76,11 @@ namespace Tizen.NUI.Wearable
             layoutManager.Layout(ScrollingDirection == Direction.Horizontal ? ContentContainer.CurrentPosition.X : ContentContainer.CurrentPosition.Y);
         }
 
+        /// <summary>
+        /// Gets / Sets total number of items.
+        /// </summary>
+        /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+        [EditorBrowsable(EditorBrowsableState.Never)]
         public int TotalItemCount
         {
             get
@@ -127,7 +132,11 @@ namespace Tizen.NUI.Wearable
             }
         }
 
-
+        /// <summary>
+        /// Scrolling direction mode for RecyclerView. <see cref="ScrollableBase.ScrollingDirection"/>.
+        /// </summary>
+        /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+        [EditorBrowsable(EditorBrowsableState.Never)]
         public new Direction ScrollingDirection
         {
             get
@@ -253,6 +262,8 @@ namespace Tizen.NUI.Wearable
         private View focusedView;
         private int prevFocusedDataIndex = 0;
 
+        /// <inheritdoc/>
+        [EditorBrowsable(EditorBrowsableState.Never)]
         public override View GetNextFocusableView(View currentFocusedView, View.FocusDirection direction, bool loopEnabled)
         {
             View nextFocusedView = null;
index a7f4c32..9df4a16 100755 (executable)
@@ -57,6 +57,8 @@ namespace Tizen.NUI.Wearable
             DecelerationRate = 0.991f;
         }
 
+        /// <inheritdoc/>
+        [EditorBrowsable(EditorBrowsableState.Never)]
         protected override void SetScrollbar()
         {
             if(LayoutManager != null)
@@ -65,6 +67,8 @@ namespace Tizen.NUI.Wearable
             }
         }
 
+        /// <inheritdoc/>
+        [EditorBrowsable(EditorBrowsableState.Never)]
         public new RecycleAdapter Adapter
         {
             get