xamarin - Subscribe to all changes with detailed info -


it critical track changes detailed information: operation type (create, update or delete), object type, changed object (or pks, if there is), , properties changed.

is there way this? workaround? blocked this. using xamarin.ios.

hope can us. thanks!

you can subscribe changes of specific db table with

idisposable sidessubscription = realm.getinstance().all<side>()                                 .subscribefornotifications(onsideschanged);  private void onsideschanged(irealmcollection<side> sender, changeset changes, exception error) {    //handle changes } 

notice need on thread looper (like ui thread) or call realm.refresh() on thread created realm.getinstance().all<side>() collection in order onsideschanged called.


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -