void InitializeTabs()
 {
     _fragments = new Fragment[] {
         TheFragment.NewInstance("Genres", "tab_genres"),
         TheFragment.NewInstance("Titles", "tab_titles"),
         TheFragment.NewInstance("Stream", "tab_stream"),
         TheFragment.NewInstance("Showtimes", "tab_showtimes")
     };
 }
예제 #2
0
        private void InitializeTabs()
        {
            var fragment = TheFragment.NewInstance <Lab5Fragment>();

            UpdateCollection += fragment.NotifyCollectionChanged;

            _fragments = new Android.Support.V4.App.Fragment[] {
                TheFragment.NewInstance <MainFragment>(),
                TheFragment.NewInstance <SecondFragment>(),
                TheFragment.NewInstance <Lab4Fragment>(),
                fragment,
                TheFragment.NewInstance <Lab6Fragment>()
            };
        }