Skip to content

MvvmCross Tutorials

Stuart Lodge edited this page Jul 26, 2013 · 2 revisions

Most samples are available in either:

This article introduces some key ones from MvvmCross-Tutorials

For more on the N+1 samples, please see https://github.com/slodge/MvvmCross/wiki/N-1-Videos-Of-MvvmCross

Basic Binding Examples

https://github.com/slodge/MvvmCross-Tutorials/tree/master/ApiExamples

This project demonstrates various techniques for binding.

This includes:

  • text
  • number
  • slider/seek bar
  • lists, linear layouts, etc
  • sub-controls
  • dictionaries
  • date
  • time
  • combo box/spinner/picker

Basic Dialog Examples

https://github.com/slodge/MvvmCross-Tutorials/tree/master/DialogExamples

This project demonstrates various techniques for using the MvvmCross ports of MonoTouch.Dialog and MonoDroid.Dialog

This includes:

  • StringElement
  • EntryElement
  • DateTimeElement
  • RadioElement
  • BooleanElement
  • custom binding segments

For more on Dialog, also see http://slodge.blogspot.co.uk/2013/05/n23-dialogs-n1-days-of-mvvmcross.html

Working With Collections

https://github.com/slodge/MvvmCross-Tutorials/tree/master/Working%20With%20Collections

This project demonstrates various techniques for working with lists and other enumerables.

This includes:

  • dynamic lists - using INotifyCollectionChanged
  • large lists - requiring memory virtualisation
  • polymorphic lists - where multiple types are contained in the same list
  • dictionaries - where items are accessed by string index.

AutoViews

https://github.com/slodge/MvvmCross-Tutorials/tree/master/AutoViewExamples

This project demonstrates some simple AutoViews in action (mainly based on Dialogs)

Babel

https://github.com/slodge/MvvmCross-Tutorials/tree/master/Babel

This project demonstrates internationalisation using the MvvmCross Json language files

For more on i18n, also see http://slodge.blogspot.co.uk/2013/05/n21-internationalisation-i18n-n1-days.html

CrossLight

https://github.com/slodge/MvvmCross-Tutorials/tree/master/CrossLight

Demonstrates use of CrossCore, Plugins and Binding without the full MvvmCross library

For more on CrossLight - also known as 'project CHIMP' - see http://slodge.blogspot.co.uk/2013/06/n30-crosslight-aka-project-chimp-n1.html

Fragments

https://github.com/slodge/MvvmCross-Tutorials/tree/master/Fragments

Demonstrates use of Fragments within Mvx DataBinding for Android

For more on Fragments, also see http://slodge.blogspot.co.uk/2013/06/n26-fragments-n1-days-of-mvvmcross.html

Good Vibrations

https://github.com/slodge/MvvmCross-Tutorials/tree/master/GoodVibrations

Demonstrates writing your own Plugin

For more on plugin authoring, see http://slodge.blogspot.co.uk/2013/06/n31-injection-platform-specific.html

Picture Taking

https://github.com/slodge/MvvmCross-Tutorials/tree/master/PictureTaking

Shows use of the Camera/Picture Plugin

ValueConversion

https://github.com/slodge/MvvmCross-Tutorials/tree/master/ValueConversion

Shows use of ValueConverters - including 2-way value converters

Clone this wiki locally