Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

ExRam.MvvmCross.ObservableBinding

Support MvvmCross-Bindings to IObservable<T>-properties in view models.

Usage: At some point in the initialisation process (usually in your override of MvxSetup.LoadPlugins), call ExRam.MvvmCross.ObservableBinding.PluginLoader.Instance.EnsureLoaded(); and you're done.

Note:

  • This does now also work for properties of type IObservable<T> where T is a value type. However, on AOT platforms, it may not work for arbitrary value types, especially custom structs. For the built-in value types (int, char, etc.) it should work though. In any case, you may always expose your Observable as IObservable<object> by boxing each element.
  • It is now possible to pass an IMvxMainThreadDispatcher to the extension. Changes on observables (even nested ones) are then observed on that dispatcher.

About

Support MvvmCross-Bindings to IObservable<T>-properties in view models.

Resources

License

Releases

No releases published

Packages

No packages published

Languages