ReactiveUI.Samples/avalonia
RLittlesII d3e4dcff62
Moved READMe to platform pages
2019-08-10 16:17:23 -05:00
..
ReactiveUI.Samples.Suspension feature: Add Avalonia sample, improve README.md (#31) 2019-07-02 00:48:00 +03:00
README.MD Moved READMe to platform pages 2019-08-10 16:17:23 -05:00
ReactiveUI.Samples.Suspension.sln feature: Add Avalonia sample, improve README.md (#31) 2019-07-02 00:48:00 +03:00

README.MD

ReactiveUI.Samples.Suspension

To read navigation stack from disk, a suspension driver is required to support deserializing IRoutableViewModel interface implementations into more specific view model types, for Newtonsoft.Json this can be achieved by using TypeNameHandling.All json serialization setting. In the App.OnFrameworkInitializationCompleted method we initialize suspension stuff specific to our app. Don't forget to add .UseReactiveUI() and .StartWithClassicDesktopLifetime() to your app builder inside the Program.cs file.

Provides examples about:

  1. Suspension and Data Persistence
  2. ViewModel first routing
  3. ReactiveCommands

Note: Avalonia produce and support the ReactiveUI plugin. You can get support on their Gitter