Adds comments of TVApps 03/138503/1
authorHyerim Kim <rimi.kim@samsung.com>
Wed, 12 Jul 2017 09:59:28 +0000 (18:59 +0900)
committerHyerim Kim <rimi.kim@samsung.com>
Wed, 12 Jul 2017 09:59:28 +0000 (18:59 +0900)
Change-Id: Ib11cf17f02b9872a9f3de988d1456d0ba7cc2b5c
Signed-off-by: Hyerim Kim <rimi.kim@samsung.com>
TVApps/TVApps/Controls/AppItemCell.xaml.cs
TVApps/TVApps/TVApps.cs
TVApps/TVApps/ViewModels/AppsHolder.cs
TVApps/TVApps/ViewModels/MainPageViewModel.cs
TVApps/TVApps/Views/FooterDeleteStatus.xaml.cs
TVApps/TVApps/Views/FooterNormalStatus.xaml.cs
TVApps/TVApps/Views/FooterPinStatus.xaml.cs
TVApps/TVApps/Views/MainPage.xaml.cs

index b53e59e..9e10d91 100755 (executable)
@@ -176,6 +176,9 @@ namespace TVApps.Controls
             set { SetValue(AppDescriptionProperty, value); }
         }
 
+        /// <summary>
+        /// A value group of height that are used in this class
+        /// </summary>
         private int height16 = SizeUtils.GetHeightSize(16);
         private int height32 = SizeUtils.GetHeightSize(32);
         private int height84 = SizeUtils.GetHeightSize(84);
index 1f014a0..66230a7 100755 (executable)
@@ -209,6 +209,10 @@ namespace TVApps
             });
         }
 
+        /// <summary>
+        /// A method will be called when the Navigation remote control key is pressed.
+        /// </summary>
+        /// <param name="keyName">A pressed remote control key name</param>
         public void OnNavigationKeyPressed(string keyName)
         {
 
index 54b33c8..c441379 100755 (executable)
@@ -62,6 +62,9 @@ namespace TVApps.ViewModels
         /// </summary>
         public string UnpinnedAppName;
 
+        /// <summary>
+        /// A flag indicates whether the number of pinned apps is over 10 or not
+        /// </summary>
         public bool IsSelectedExceeds;
 
         /// <summary>
index bd30362..333f39a 100755 (executable)
@@ -118,6 +118,9 @@ namespace TVApps.ViewModels
             }
         }
 
+        /// <summary>
+        /// Gets or sets a flag indicates whether the number of pinned applications is over 10 or not
+        /// </summary>
         public bool IsSelectedExceeds
         {
             get
@@ -126,6 +129,9 @@ namespace TVApps.ViewModels
             }
         }
 
+        /// <summary>
+        /// Gets or sets a flag indicates whether the option button is needed to focus or not
+        /// </summary>
         public bool SetFocusOptionButton
         {
             get;
@@ -167,6 +173,9 @@ namespace TVApps.ViewModels
         /// </summary>
         public Command DeletePopupCommand { get; set; }
 
+        /// <summary>
+        /// A command will be executed if the Sort DropdownList item is selected
+        /// </summary>
         public Command<int> SortOptionIndexCommand { get; set; }
 
         /// <summary>
@@ -242,10 +251,12 @@ namespace TVApps.ViewModels
         /// </summary>
         public event PropertyChangedEventHandler PropertyChanged;
 
+        /// <summary>
+        /// A flag indicates whether pin app is requested or not
+        /// </summary>
         private bool isPinAppRequested = false;
 
         /// <summary>
-        /// A flag indicates whether pin app is requested or not
         /// If TV Home requests pin app to TV Apps, IsPinAppRequested will be true
         /// </summary>
         public bool IsPinAppRequested
index bf0e5bf..8dc85b3 100755 (executable)
@@ -26,6 +26,9 @@ namespace TVApps.Views
     /// </summary>
     public partial class FooterDeleteStatus : RelativeLayout
     {
+        /// <summary>
+        /// The cancel button object
+        /// </summary>
         private Button CancelButton;
 
         /// <summary>
index 4dedfc9..09cd231 100755 (executable)
@@ -19,7 +19,6 @@ using Tizen.Xamarin.Forms.Extension;
 using LibTVRefCommonPortable.Utils;
 using System.Windows.Input;
 using System;
-using TVApps.Controls;
 using System.Collections.Generic;
 
 namespace TVApps.Views
@@ -29,15 +28,28 @@ namespace TVApps.Views
     /// </summary>
     public partial class FooterNormalStatus : RelativeLayout
     {
+        /// <summary>
+        /// A flag indicates whether the popup is showing or not
+        /// </summary>
         private bool isPopupShowing = false;
 
+        /// <summary>
+        /// The drop down list of sort options
+        /// </summary>
         private DropdownList SortButton;
+
+        /// <summary>
+        /// The Option button object
+        /// </summary>
         private Button OptionButton;
 
         /// <summary>
-        /// A command will be executed if the Pin option is selected
+        /// Identifies the PinAppCommand bindable property
         /// </summary>
         public static readonly BindableProperty PinAppCommandProperty = BindableProperty.Create("PinAppCommand", typeof(Command), typeof(FooterNormalStatus), null);
+        /// <summary>
+        /// A command will be executed if the Pin option is selected
+        /// </summary>
         public ICommand PinAppCommand
         {
             get { return (ICommand)GetValue(PinAppCommandProperty); }
@@ -45,9 +57,12 @@ namespace TVApps.Views
         }
 
         /// <summary>
-        /// A command will be executed if the Delete option is selected
+        /// Identifies the DeleteAppCommand bindable property
         /// </summary>
         public static readonly BindableProperty DeleteAppCommandProperty = BindableProperty.Create("DeleteAppCommand", typeof(Command), typeof(FooterNormalStatus), null);
+        /// <summary>
+        /// A command will be executed if the Delete option is selected
+        /// </summary>
         public ICommand DeleteAppCommand
         {
             get { return (ICommand)GetValue(DeleteAppCommandProperty); }
@@ -55,16 +70,25 @@ namespace TVApps.Views
         }
 
         /// <summary>
-        /// A command will be executed if the Sort DropdownList item is selected
+        /// Identifies the SortOptionIndexCommand bindable property
         /// </summary>
         public static readonly BindableProperty SortOptionIndexCommandProperty = BindableProperty.Create("SortOptionIndexCommand", typeof(Command), typeof(FooterNormalStatus), null);
+        /// <summary>
+        /// A command will be executed if the Sort DropdownList item is selected
+        /// </summary>
         public ICommand SortOptionIndexCommand
         {
             get { return (ICommand)GetValue(SortOptionIndexCommandProperty); }
             set { SetValue(SortOptionIndexCommandProperty, value); }
         }
 
+        /// <summary>
+        /// Identifies the SetFocusOptionButton bindable property
+        /// </summary>
         public static readonly BindableProperty SetFocusOptionButtonProperty = BindableProperty.Create("SetFocusOptionButton", typeof(bool), typeof(FooterNormalStatus), false, BindingMode.TwoWay);
+        /// <summary>
+        /// Gets or sets a flag indicates whether the option button is needed to focus or not
+        /// </summary>
         public bool SetFocusOptionButton
         {
             get { return (bool)GetValue(SetFocusOptionButtonProperty); }
@@ -200,7 +224,11 @@ namespace TVApps.Views
             ChangeBackKeyInfoCommand?.Execute(isPopupShowing);
         }
 
-
+        /// <summary>
+        /// This method is called when the properties of FooterNormalStatus is changed
+        /// </summary>
+        /// <param name="sender">The source of the event</param>
+        /// <param name="e">The event that is occurred when Property is changed</param>
         private void FooterNormalStatusPropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
         {
             if (e.PropertyName.Equals("SetFocusOptionButton"))
index f5c808e..25a7db0 100755 (executable)
@@ -25,6 +25,9 @@ namespace TVApps.Views
     /// </summary>
     public partial class FooterPinStatus : RelativeLayout
     {
+        /// <summary>
+        /// The Done button object
+        /// </summary>
         private Button DoneButton;
         /// <summary>
         /// Gets Done Button
index fa76298..c2fabd2 100755 (executable)
@@ -25,7 +25,6 @@ using System.Windows.Input;
 using System.Collections.Generic;
 using System.Linq;
 using Xamarin.Forms.PlatformConfiguration.TizenSpecific;
-using TVApps.Controls;
 using Tizen.Xamarin.Forms.Extension;
 
 namespace TVApps.Views
@@ -111,8 +110,13 @@ namespace TVApps.Views
             set { SetValue(DeletePopupCommandProperty, value); }
         }
 
+        /// <summary>
+        /// Identifies the IsSelectedExceeds bindable property
+        /// </summary>
         public static readonly BindableProperty IsSelectedExceedsProperty = BindableProperty.Create("IsSelectedExceeds", typeof(bool), typeof(FooterPinStatus), false, BindingMode.TwoWay);
-
+        /// <summary>
+        /// Gets or sets a flag indicates whether the number of pinned applications is over 10 or not
+        /// </summary>
         public bool IsSelectedExceeds
         {
             get { return (bool)GetValue(IsSelectedExceedsProperty); }