Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
iOS
 
 
 
 
 
 
 
 

README.md

TodoRedux

This is a sample Xamarin app demonstrating how to use Redux.NET Middleware with a LiteDb database to store and restore state.

This is the supporting code for the blog series on Advanced Xamarin in Redux, available here:

This sample was written in Visual Studio for Mac, it seems to work in Visual Studio 2017 for PC, but there's still some differences in the tooling support for .NET Standard and csproj-based NuGet dependencies.

ActionCreators

The ActionCreators in this project are very basic, they just create and return a single Action, but they lay the foundations for doing async (e.g. API) calls as discussed in the [first blog post](Advanced Redux in Xamarin Part 1: Action Creators).

Middleware

The DatabaseMiddleware class demonstrates how to intercept Actions to store the current application state in a local database, then reload that state on application startup. See the third blog post for more on this.

MVVM

This sample uses a very vanilla implementation of the MVVM pattern, simply newing up the ViewModel in the Page constructor and using Fody.PropertyChanged to automatically wire up the INotifyPropertyChanged events.

About

Sample Xamarin app using Redux.NET with a LiteDb database

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.