Xamarin C# implementation of https://github.com/StringMon/prefsyncservice.
-
Create an instance of PrefListener in OnCreate()
-
Resume Listener in OnResume() and pause in OnPause()
-
If necessary, subscribe to preference changes with ISharedPreferencesOnSharedPreferenceChangeListener
That's it!