Ejemplo n.º 1
0
        public static AlreadyWatchedMoviesFragment NewInstance()
        {
            var    frag1  = new AlreadyWatchedMoviesFragment();
            Bundle bundle = new Bundle();

            //bundle.PutIntArray("movieIds", Globals.StarredMovies.ToArray());
            frag1.Arguments = bundle;
            return(frag1);
        }
Ejemplo n.º 2
0
        protected override void OnCreate(Bundle bundle)
        {
            InitView(Resource.Layout.PopularPeople, bundle);
            adRenderer.RenderAd(FindViewById <AdView>(Resource.Id.adView));

            Title = "Watch History";
            var fragmentTransaction = SupportFragmentManager.BeginTransaction();

            fragmentTransaction.Replace(Resource.Id.frameLayout1, AlreadyWatchedMoviesFragment.NewInstance());
            fragmentTransaction.Commit();
        }