Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

How to overcome deploy clearing Application.Current.Properties on Android?

JohnHardmanJohnHardman GBUniversity admin
edited November 2015 in Xamarin.Forms

During development, I am repeatedly building and deploying to physical devices for testing.

On iOS devices, even when I re-build and re-deploy, the values previously stored using Application.Current.Properties are retained.
On Android devices, when I re-build and re-deploy, those values are discarded.

Is this difference in behaviour expected?
Are there any build settings that allow me to control which behaviour occurs? Normally, but not always, I would prefer to retain the previous settings.

I am using VS2013 currently.

Many thanks,

John H.

Best Answer


Sign In or Register to comment.