App vs Application

When I use "App.Current.Properties" I can set and get values between platforms, When I use "Application.Current.Properties" it's only available in forms

It would be nice to know why. What is the difference between App and Application?

Best Answers

Answers

  • adamkempadamkemp USInsider, Developer Group Leader mod

    Which platform other than Forms are you using?

  • ChrisNielsenChrisNielsen DKMember
    edited April 2015

    Which platform other than Forms are you using?

    iOS

  • ChrisNielsenChrisNielsen DKMember
    edited April 2015

    This is strange. I can't see "Current" in Application.Current.. when I am adding the namespace "Xamarin.Forms" in the top, but if I use the namespace directly, it works "Xamarin.Forms.Application.Current..."

    Does the using keyword break after the "ExportRenderer"?

Sign In or Register to comment.