Пример #1
0
 public override View GetSampleContent(Android.Content.Context con)
 {
     if (IsTabletDevice(con))
     {
         CalendarGettingStarted_Tab tab = new CalendarGettingStarted_Tab();
         return(tab.GetSampleContent(con));
     }
     else
     {
         mobile = new CalendarGettingStarted_Mobile();
         return(mobile.GetSampleContent(con));
     }
 }
        public void Dispose()
        {
            if (mobile != null)
            {
                mobile.Dispose();
                mobile = null;
            }

            if (tab != null)
            {
                tab.Dispose();
                tab = null;
            }
        }