Support the EmbeddingControls of MediaPlayer
authorRina You <rina6350.you@samsung.com>
Thu, 26 Mar 2020 16:20:08 +0000 (12:20 -0400)
committerRina You <rina6350.you@samsung.com>
Thu, 26 Mar 2020 16:42:51 +0000 (12:42 -0400)
src/XSF/Tizen.Wearable.CircularUI.Forms/MediaPlayer.cs

index fad7717..9cc02b1 100644 (file)
@@ -22,6 +22,7 @@ using System.Threading;
 using System.Threading.Tasks;
 using Xamarin.Forms;
 using Xamarin.Forms.Internals;
+using Xamarin.Forms.Platform.Tizen.Native;
 
 namespace Tizen.Wearable.CircularUI.Forms
 {
@@ -117,13 +118,13 @@ namespace Tizen.Wearable.CircularUI.Forms
                        _impl.AutoStop = true;
 
                        _controlsAlwaysVisible = false;
-                       //_controls = new Lazy<View>(() =>
-                       //{
-                       //    return new EmbeddingControls
-                       //    {
-                       //        BindingContext = this
-                       //    };
-                       //});
+                       _controls = new Lazy<View>(() =>
+                       {
+                               return new EmbeddingControls
+                               {
+                                       BindingContext = this
+                               };
+                       });
                }
 
                /// <summary>