We are organizing the first ever ReactiveUI virtual conference, register and join us on September 19th!

Xamarin Forms

Ensure that you install ReactiveUI.XamForms into your applications.

Your viewmodels should inherit from ReactiveObject

Use WireUpControls

Use IActivatableViewModel and WhenActivated for lifecycle

Keep references to your subscriptions

Use disposables to manage lifetime, scope and resources:

Don't use eventhandlers, use the extension methods shipped in reactiveui.events.xamforms instead

Use your normal Xamarin Forms concepts that you would usually use in Xamarin Forms development, we have some base classes which you should use as they expose observables such as Changed, Changing and Deactivated that can be used for composition.