Ejemplo n.º 1
0
        private void InitMenu()
        {
            SetLoaderLogo(Path.Combine(Current.DirectoryInfo.SharedResource, "JuvoPlayerOpenGLNativeTizenTV.png"));

            _resourceLoader = ResourceLoader.GetInstance();
            _resourceLoader.LoadResources(
                Path.GetDirectoryName(Path.GetDirectoryName(Current.ApplicationInfo.ExecutablePath)),
                HandleLoadingFinished);
            _metricsHandler = new MetricsHandler();
            SetMetrics();
            SetMenuFooter();
            SetupOptionsMenu();
            SetDefaultMenuState();
        }
Ejemplo n.º 2
0
 private void InitMenu()
 {
     _resourceLoader = new ResourceLoader
     {
         Logger = Logger
     };
     _resourceLoader.LoadResources(
         Path.GetDirectoryName(Path.GetDirectoryName(Current.ApplicationInfo.ExecutablePath)),
         HandleLoadingFinished);
     _metricsHandler = new MetricsHandler();
     SetMetrics();
     SetMenuFooter();
     SetupOptionsMenu();
     SetDefaultMenuState();
 }