Creating the Forms.UI project
Create a Class Library(.NET Standard) project which is called MvvmCrossDemo.Form.UI by Visual Studio:
Delete the default Class1.cs file. Install the Xamarin.Forms package from the NuGet Package Manager, like this:
Or input the command below in the NuGet Manager Console:
1
Install-Package Xamarin.Forms
Copied!
Then install MvvmCross.Forms package by the NuGet Package Manager:
You can also input the command below in your Package Manger Console:
1
Install-Package MvvmCross.Forms
Copied!
As we mentioned before, all the UI components will be hosted in this UI project. To achieve the reusability, add the reference to the MvvmCrossDemo.Core project that we created before, like this:
Last modified 3yr ago
Copy link