private void SetupTabs()
        {
            tabTopMovies = new TopMoviesNavigationController(TopMoviesCategoryController.MovieControllerType.TopMovies)
            {
                TabBarItem = new UITabBarItem(_localizeLookupService.GetLocalizedString("TopMovies"), UIImage.FromBundle("f008.png"), 0),
                HidesBottomBarWhenPushed = false,
            };
            tabTopMovieRentals = new TopMoviesNavigationController(TopMoviesCategoryController.MovieControllerType.TopMovieRentals)
            {
                TabBarItem = new UITabBarItem(_localizeLookupService.GetLocalizedString("TopMovieRentals"), UIImage.FromBundle("f145.png"), 1),
                HidesBottomBarWhenPushed = false
            };

            tabTopMusicVideos = new TopMusicVideosNavigationController
            {
                TabBarItem = new UITabBarItem(_localizeLookupService.GetLocalizedString("TopMusicVideos"), UIImage.FromBundle("f001.png"), 2),
                HidesBottomBarWhenPushed = false
            };

            var tabs = new UIViewController[]
            {
                tabTopMovies,
                tabTopMovieRentals,
                tabTopMusicVideos
            };

            ViewControllers = tabs;
        }
 public TopMusicVideosController(string genre, TopMusicVideosNavigationController navController)
 {
     _genre = genre;
     _navController = navController;
 }
 public TopMusicVideosCategoryController(TopMusicVideosNavigationController navController)
 {
     _navController = navController;
     _genres = _itunesService.GetMusicVideoGenres();
 }
        private void SetupTabs()
        {
            tabTopMovies = new TopMoviesNavigationController(TopMoviesCategoryController.MovieControllerType.TopMovies)
            {
                TabBarItem = new UITabBarItem(_localizeLookupService.GetLocalizedString("TopMovies"), UIImage.FromBundle("f008.png"), 0),
                HidesBottomBarWhenPushed = false,
            };
            tabTopMovieRentals = new TopMoviesNavigationController(TopMoviesCategoryController.MovieControllerType.TopMovieRentals)
            {
                TabBarItem = new UITabBarItem(_localizeLookupService.GetLocalizedString("TopMovieRentals"), UIImage.FromBundle("f145.png"), 1),
                HidesBottomBarWhenPushed = false
            };

            tabTopMusicVideos = new TopMusicVideosNavigationController 
            {
                TabBarItem = new UITabBarItem(_localizeLookupService.GetLocalizedString("TopMusicVideos"), UIImage.FromBundle("f001.png"), 2),
                HidesBottomBarWhenPushed = false
            };

            var tabs = new UIViewController[]
            {
                tabTopMovies,
                tabTopMovieRentals,
                tabTopMusicVideos
            };

            ViewControllers = tabs;
        }
示例#5
0
 public TopMusicVideosCategoryController(TopMusicVideosNavigationController navController)
 {
     _navController = navController;
     _genres        = _itunesService.GetMusicVideoGenres();
 }
示例#6
0
 public TopMusicVideosController(string genre, TopMusicVideosNavigationController navController)
 {
     _genre         = genre;
     _navController = navController;
 }