/Mvx.Plugins.Settings

Settings plug-in for MvvmCross.

Primary LanguageC#OtherNOASSERTION

Mvx Settings Plugin an MvvmCross

What is it

Cross platform settings plug-in for MvvmCross that allows you to store and use shared preferences in your core project.

Uses the native settings management

  • Android: SharedPreferences
  • iOS: NSUserDefaults
  • Windows Phone: IsolatedStorageSettings
  • Windows Store: ApplicationDataContainer

Sample App

  • Included currently is a iOS Touch sample app and a core solution under the "Test" folder.

#Setup & Usage

Manually (Dlls are all in Binaries folder):

  • Add Refractored.MvxPlugins.Settings.dll to all projects

  • Add Refractored.MvxPlugins.Settings.ClientName.dll to all clients

  • Or go ahead and just all all projects in and reference them

  • Create a new file in your Core solution called Settings.cs (or whatever you would like)

  • This is a static class that can be used in your core or clients to get/set settings

  • Fill in setup code

  • Add in settings

  • See the sample project for details.

Projects which use Mvx Settings Plugin

  • Want yours on the list? Open an issue :)

Building with rake

*Install Ruby *Cd to solution directory root with cygwin (git bash will work fine)

  • run the following commands
gem install rake
gem install bundle
bundle

Now type rake -T this will show you the rake tasks available. Rake preflight downloads nugetpackages and builds (most common to use)

TODO

  • Sample Android App
  • Sample Windows Phone App
  • Sample Windows Store App

Contributors

Thanks!

License

Licensed under the Apache License, Version 2.0