This Xamarin Workshop was created for the The Portuguese National Meeting of IT Students (ENEI) by Sara Silva which original content is available here. With the goal to extend it to the global community, Sara Silva and Allan Pead are creating this repository to create a Xamarin Community Workshop to use in user groups events or by developers to learn Xamarin.
In this Xamarin Workshop, you will learn how to create a Xamarin Forms app, which main goals are:
- Create a Sessions App from the scratch using XAML;
- Apply the Abstraction pattern;
- Apply the MVVM pattern;
- Use resources and converters
- Use Font Awesome
Each developer should:
- Have a Windows or a Mac device;
- Install Xamarin Studio;
- Install Xamarin IOS and/or Xamarin Android
- Install Xamarin Android Player or Genymotion
- Install Visual Studio Community 2013
- Install Windows Phone 8.1 SDK and Windows SDK for Windows 8.1
Notes:
- If you have a Windows device you can create Windows and Android applications. To create iOS applications is always required a Mac, and in this case you can create iOS and Android application using Xamarin Studio. With a Mac and Windows running in Parallels or VMware is possible to create the three targets at the same time (but is required a Windows Phone device to do the deploy!).
- Xamarin Plugin for Visual Studio in only available for Business plan and for developers that participate in Open Source projects.
- Each student should get your own Xamarin Student License for free in xamarin.com/student.
Xamarin IOS | Xamarin Android | Xamarin Forms | Others |
---|---|---|---|
Getting started | Getting started | Getting started | Xamarin Recipes |
API | API | API | Xamarin Videos |
Guides | Guides | Samples | Xamarin Samples |
📌 Ebook
iOS | Android | WP8.0 | Win8.1 Store App | WPA8.1 |
---|---|---|---|---|
✅ | ✅ | ✅ | ✅ ( * ) | ✅ ( * ) |
(*) This sample is in a preview version and is only available in Step 7: Add support to WinRT apps.
Demo | Demo | Online Guide | PDF Guide | Word Guide |
---|---|---|---|---|
1. Create a Xamarin Forms project | ✅ | ✅ | ✅ | ✅ |
2. Create the model and data source | ✅ | ✅ | ✅ | ✅ |
3. Create the SessionsView | ✅ | ✅ | ✅ | ✅ |
4. Create the SessionDetailsView | ✅ | ✅ | ✅ | ✅ |
5. Add ShareService | ✅ | ✅ | ✅ | ✅ |
6. Add splash screen, name and version | ✅ | ✅ | ✅ | ✅ |
7. Add support to WinRT apps | ✅ | ✅ | ✅ | ✅ |
[8. Change the App.cs to App.xaml](src/8. Change the App.cs to App.xaml) | ✅ | ✅ | ✅ | ✅ |
9. Use MVVM pattern | ✅ | ✅ | ✅ | ✅ |
10. Move ItemTemplate to Resources | ✅ | ✅ | ✅ | ✅ |
11. Create a LoginView | ✅ | ✅ | ✅ | ✅ |
[](Guides/CompleteGuide-1010ENEI-Xamarin Workshop.pdf)
Thanks to João Matos, Allan Pead, Craig Dunn and Aditya Gujaran for the support and the feedback provided!
Any developer can contribute using Draft Branch or Review Branch, and then do a pull request. To clarify any doubt please open an issue here.
MIT License (MIT), read more about it in the LICENSE file.