Skip to content

ehuna/Mvx.Plugins.Settings

 
 

Repository files navigation

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 :)

TODO

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

Contributors

Thanks!

License

Licensed under the Apache License, Version 2.0

About

Settings plug-in for MvvmCross.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published