Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 75885

.Register(t => WindowsPhoneDevice.CurrentDevice)

$
0
0

Hi I am using XLab in a XF project and I am getting an error message in my WP8 app on the following piece of code:

.Register<IDevice>(t => WindowsPhoneDevice.CurrentDevice)

error: Cannot convert lambda expression to type 'XLabs.Platform.Device.IDevice' because it is not a delegate type

This was working fine before I installed MR.Gestures via Nuget. Any ideas?


Viewing all articles
Browse latest Browse all 75885

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>