Hello!
I think I must be missing something very basic here.
Within a PCL class library I wish to call Device.StartTimer. I do so in the generic PCL (Portable) assembly, not in the e.g. PCL.WP8 platform specific assembly. However, when I do so, I get the error:
[System.InvalidOperationException] = {System.InvalidOperationException: You MUST call Xamarin.Forms.Init(); prior to using it.
at Xamarin.Forms.Device.get_PlatformServices()
at Xamarin.Forms.Device.StartTimer(TimeSpan interval, Func`1 callback)
Can anybody show me what I'm doing wrong?
Many thanks.