The Tizen TV UIControls is a set of helpful extensions to the Xamarin Forms framework for the Samsung TV device. The binaries are available via NuGet (package name is Tizen.TV.UIControls.Forms) with the source available here.
nuget.exe install Tizen.TV.UIControls -Version 1.1.0
<PackageReference Include="Tizen.TV.UIControls" Version="1.1.0" />
<ContentPage ... xmlns:tv="clr-namespace:Tizen.TV.UIControls.Forms;assembly=Tizen.TV.UIControls.Forms" ...>
- New way (since 1.1.0-pre2)
Forms.Init(app);
// UIControls.Init() should be called after Forms.Init()
// No MainWindowProvider required for MediaPlayer
UIControls.Init(new InitOptions(app));
- Legacy (~ 1.0.0)
Forms.Init(app);
UIControls.Init();
//set main window provider
UIControls.MainWindowProvider = () => app.MainWindow;
https://samsung.github.io/Tizen.TV.UIControls/guides/Overview.html
https://samsung.github.io/Tizen.TV.UIControls/api/index.html
The Tizen Theme Common is a set of helpful extensions to the Xamarin Forms framework for Tizen devices. It provides various UI controls that can be commonly used in all different Tizen profiles with rich and customizable functionalities. The Nuget package is available with the name of Tizen.Theme.Common.
<PackageReference Include="Tizen.Theme.Common" Version="1.1.0-pre5" />
CommonUI.Init(app);
// Or, you can use InitOptions as followings.
// Make sure it is `Tizen.Theme.Common.InitOptions`. (not Tizen.TV.UIControls.InitOptions)
// CommonUI.Init(new InitOptions(app));
...
// `CommonUI.AddCommonThemeOverlay()` should be called after other's Init including `Forms.Init()` and `UIControls.Init()`
CommonUI.AddCommonThemeOverlay();