Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Looking for simple MVVM Light example

I'm trying to learn MVVM Light and am looking for a good basic example that shows a model and how to load different views.

The template I see after downloading MVVM Light has no models and only one view. (http://www.galasoft.ch/mvvm/creating/)

Other things I've found are more complex and a bit confusing when all I want to see are the basics.

Thanks.

like image 735
BillyPilgrim Avatar asked Oct 03 '10 02:10

BillyPilgrim


People also ask

What is the difference between the MVVM Cross and MVVM Light?

The difference is that MVVM Light wraps a lot of this in a view-model locator—a static class used to register services and get view models. MvvmCross has some setup code provided by the framework, and inside this setup code you initialize the content of the IoC container.

What is MVVM Light xamarin?

In this article you will learn how to start with Xamarin Forms MVVM Light. Xamarin. Forms is a cross-platform UI toolkit that allows developers to easily create native user interface layouts that can be shared across Android, iOS, and Windows Phone.

What is MVVM Light?

MVVM is a pattern on how to structure your UI and data and business logic. MVVM light is a lightweight framework that supports you in implementing the pattern.

What is galasoft MVVmlight?

MVVM Light is a framework that helps you build XAML applications according to the Model-View-View-Model architectural pattern. MVVM Light includes several features, and one of those is to simplify the implementation of the INotifyPropertyChanged interface.


2 Answers

I have found this example helpful:

http://apuntanotas.codeplex.com/

like image 138
Bill Avatar answered Oct 05 '22 16:10

Bill


I have personally found these to be quite useful, though they also use MEF and RIA Services which can complicate things:

A Sample Silverlight 4 Application Using MEF, MVVM, and WCF RIA Services

Architecting Silverlight 4 with RIA Services MEF and MVVM - Part 1

In April, the author of the MVVM Light toolkit said that he would eventually be creating a reference application in both Silverlight and WPF. (Source)

You might find these other questions useful:

mvvm light toolkit samples

wpf/silverlight mvvm sample app request

mvvm tutorial from start to finish

like image 20
kevev22 Avatar answered Oct 05 '22 15:10

kevev22