Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>For non-portable APIs MvvmCross generally provides interfaces within PCLs with platform specific implementations on each platform.</p> <p>The pattern used is called "plugins" - but really these are just a simple layer on top of an IoC container. You can see more about this on:</p> <ul> <li>N=31 video in the tutorials - <a href="http://mvvmcross.wordpress.com" rel="nofollow">http://mvvmcross.wordpress.com</a> - <a href="http://slodge.blogspot.co.uk/2013/06/n31-injection-platform-specific.html" rel="nofollow">http://slodge.blogspot.co.uk/2013/06/n31-injection-platform-specific.html</a></li> <li>the wiki - <a href="https://github.com/MvvmCross/MvvmCross/wiki/MvvmCross-plugins" rel="nofollow">https://github.com/MvvmCross/MvvmCross/wiki/MvvmCross-plugins</a></li> </ul> <p>For <code>File.Exists</code>, MvvmCross provides an <code>IMvxFileStore</code> api - see <a href="https://github.com/MvvmCross/MvvmCross/blob/v3/Plugins/Cirrious/File/Cirrious.MvvmCross.Plugins.File/IMvxFileStore.cs" rel="nofollow">https://github.com/MvvmCross/MvvmCross/blob/v3/Plugins/Cirrious/File/Cirrious.MvvmCross.Plugins.File/IMvxFileStore.cs</a></p> <p>For <code>SQLite</code> MvvmCross has wrapped the SQLite-net library. </p> <ul> <li>The original attempt to do this is in <a href="https://github.com/MvvmCross/MvvmCross/tree/v3/Plugins/Cirrious/Sqlite" rel="nofollow">https://github.com/MvvmCross/MvvmCross/tree/v3/Plugins/Cirrious/Sqlite</a> and is based off an early 2012 version of SQLite-net. A video intro to this is available in N-10 in <a href="http://mvvmcross.wordpress.com" rel="nofollow">http://mvvmcross.wordpress.com</a>. This project has now been marked as obsolete simply because I don't plan to do any updates to it.</li> <li><p>The newer attempt at portable SQLite-net has been put in its own repo to allow more people to contribute to it without confusing the main MvvmCross repo. It is in <a href="https://github.com/MvvmCross/MvvmCross-Sqlite" rel="nofollow">https://github.com/MvvmCross/MvvmCross-Sqlite</a> - it is based off the latest SQLite-net (late 2013) which was split into interface and non-interface parts by @jarroda. The same N-10 video intro from <a href="http://mvvmcross.wordpress.com" rel="nofollow">http://mvvmcross.wordpress.com</a> should work with this project too - just with a different namespace. </p> <p>This source is currently live and builds fine here in my stable WinRT/WP7/Xamarin VS2012 environment. There will be changes in the coming weeks to address changes forced on MvvmCross by the latest Xamarin and Microsoft PCL changes. I'm afraid no-one can help with "spewing out errors" - that's not a techie term anyone can really help with.</p></li> </ul> <p>There is at least one other PCL adaption of SQLite-net I've seen recently - but I can't find a link to that at present.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload