public override void ViewWillAppear(bool animated)
        {
            base.ViewWillAppear(animated);


            if (AppDelegate.FirstAd != null)
            {
                BackgroundImage.SetImage(
                    url: new NSUrl(AppDelegate.FirstAd.ImageURL),
                    placeholder: UIImage.FromBundle("ad_placeholder.jpg")
                    );
            }
        }
Esempio n. 2
0
 void SetupBackgroud(BackgroundArgs args)
 {
     BackgroundImage.SetImage(Backgrounds[args.Background]);
 }