Example #1
0
 internal void AddPage(AppercodePage appercodePage, object p)
 {
     appercodePage.InternalOnNavigatedTo(new NavigationEventArgs(appercodePage.GetType(), p));
     this.AddLogicalChild(appercodePage);
     appercodePage.LayoutUpdated += appercodePage_LayoutUpdated;
     (this.ViewPager.Adapter as AppercodeFragmentPageAdapter).Pages.Add(appercodePage);
     (this.ViewPager.Adapter as AppercodeFragmentPageAdapter).NotifyDataSetChanged();
 }
Example #2
0
 internal void AddPage(AppercodePage appercodePage, object p)
 {
     appercodePage.InternalOnNavigatedTo(new NavigationEventArgs(appercodePage.GetType(), p));
     this.AddLogicalChild(appercodePage);
     appercodePage.LayoutUpdated += appercodePage_LayoutUpdated;
     (this.ViewPager.Adapter as AppercodeFragmentPageAdapter).Pages.Add(appercodePage);
     (this.ViewPager.Adapter as AppercodeFragmentPageAdapter).NotifyDataSetChanged();
 }