Exemple #1
0
        void InitPages()
        {
            var jobsFragment = new JobsFragment();

            var categoriesFragment = new CategoriesFragment();

            var favoritesFragment = new FavoritesFragment();

            _fragments.Add(jobsFragment);

            _backPressedListFragmet.Add(jobsFragment);

            _fragments.Add(categoriesFragment);

            _backPressedListFragmet.Add(categoriesFragment);

//			_fragments.Add (favoritesFragment);
//
//			_backPressedListFragmet.Add(favoritesFragment);

            var pagesTitle = _resources.GetStringArray(Resource.Array.HomeTitles);

            _titles = new List <ICharSequence> (CharSequence.ArrayFromStringArray(pagesTitle));
        }
		void InitPages ()
		{
			var jobsFragment = new JobsFragment ();

			var categoriesFragment = new CategoriesFragment();

			var favoritesFragment = new FavoritesFragment();

			_fragments.Add (jobsFragment);

			_backPressedListFragmet.Add(jobsFragment);

			_fragments.Add (categoriesFragment);

			_backPressedListFragmet.Add(categoriesFragment);

//			_fragments.Add (favoritesFragment);
//
//			_backPressedListFragmet.Add(favoritesFragment);

			var pagesTitle = _resources.GetStringArray(Resource.Array.HomeTitles);

			_titles = new List<ICharSequence> (CharSequence.ArrayFromStringArray(pagesTitle));
		}