I was trying to use MVVM pattern in Tizen.Net for one of my sample applications that I am deploying on Tizen TV.
If I set BindingContext in XAML like below -
<ContentPage.BindingContext>
<local:MainLayoutViewModel />
</ContentPage.BindingContext>
This works perfectly fine on Tizen Emulator, however if I deploy tpk on Tizen TV, then application would not launch.
Thereafter if VM is set via .cs file then it works both on Tizen Emulator & TV.
public MainLayout()
{
InitializeComponent();
BindingContext = new MainLayoutViewModel ();
}
Any insight related to this would be of great help.