private View GetLandscapeView()
 {
     if (Device.Idiom == TargetIdiom.Tablet)
       {
     if (_tabletLandscape == null)
       _tabletLandscape = new TabletLandscapeContent(_movieQuote);
     return _tabletLandscape;
       }
       else
       {
     if (_landscape == null)
       _landscape = new LandscapeContent(_movieQuote);
     return _landscape;
       }
 }
Пример #2
0
 private View GetLandscapeView()
 {
     if (Device.Idiom == TargetIdiom.Tablet)
     {
         if (_tabletLandscape == null)
         {
             _tabletLandscape = new TabletLandscapeContent(_movieQuote);
         }
         return(_tabletLandscape);
     }
     else
     {
         if (_landscape == null)
         {
             _landscape = new LandscapeContent(_movieQuote);
         }
         return(_landscape);
     }
 }