public Rotator()
        {
            //if((UIDevice.CurrentDevice).UserInterfaceIdiom == UIUserInterfaceIdiom.Pad)
            //{
            //	this.AddSubview(new Rotator_Tablet());

            //}
            //else{
            phoneView = new Rotator_Mobile();
            this.AddSubview(phoneView);
            //}
        }
Exemple #2
0
 public override View GetSampleContent(Android.Content.Context con)
 {
     if (IsTabletDevice(con))
     {
         Rotator_Tab tab = new Rotator_Tab();
         return(tab.GetSampleContent(con));
     }
     else
     {
         mobile = new Rotator_Mobile();
         return(mobile.GetSampleContent(con));
     }
 }