Tagged: Xamarin Forms

Enterprise Xamarin.Forms Training

Profissional Xamarin.Forms development has a sizable concept count.

Anyone with a little XAML experience can follow the many getting started tutorials and successfully create a Xamarin.Forms application for iOS, Android, UWP, and soon to RTM macOS.

However, once your application evolves beyond demoware towards a paid for or corporate enterprise application that must be maintainable over time,  the developer and team will need to start addressing the many facets of professional mobile development.

The best place to start is with the Xamarin.Forms documentation.  I always tell folks, “when all else fails, Read The Free Manual. (RTFM).” From here invest in your skill set and attend https://university.xamarin.com.

Personally, I’m looking forward to the next RTM release of Xamarin.Forms and it’s full support for .NET Standard 2.0.  This release will provide for much easier to share code without the confusing and frustrating assembly target profiles.  The number of available API’s will also be greatly enhanced.

I don’t like reinventing the wheel, especially on platforms that are not my primary development platform.  Instead, I like to leverage the knowledge and experience of professionals that their day-to-day focus is the platform I’m learning.

I just found an outstanding resource for Profissional Enterprise Xamarin.Forms Development by MVP Adam Pedley here:

https://training.xamarinhelp.com/course/enterprise-xamarin-forms-development/

Adam’s blog is located here:  http://xamarinhelp.com/

Adam’s training site is new and the content is ever growing. I just completed this course and learned a lot on these topics:

  • Architecture
  • Cross-cutting concerns
  • Security
  • Analytics

Xamarin.Forms Development Tooling

  • Cross-platform Environment Setup
  • Debugging
  • Application Profiling
  • Unit Testing
  • UI Testing
  • Continuous Integration and Deployment

This course will expose you to the high number of considerations and essential topics for creating a Profissional Xamarin.Forms application.

Have a great day,

Just a grain of sand on the worlds beaches.

Ocean Validation for Xamarin Forms

Introduction

This blog post is about an example Xamarin Forms project I wrote to show using Prism, Unity, and Ocean Validation in several scenarios.

I decided to make this a video blog post and have six videos for you.

You learn the following:

  • Using the sample Xamarin Forms app and understanding the line of business scenarios it covers.
  • Using Prism and Unity in a real-world Xamarin Forms App
  • Dependency injection in a real-world Xamarin Forms App
  • Abstracting Static services and Static Device information behind interfaces to promote testing and maintainable code
  • Using Prism NavigationService and PageDialogService
  • Async Await contrasted with the Promise pattern in a Xamarin Forms App
  • Ocean validation framework with Xamarin Forms
  • Using IDataErrorInfo to surface validation errors for properties or the entire object.  (Yes, IDataErrorInfo!)  This also works for UWP.  These two platform’s binding pipeline lack data validation.  No worries, it’s very easy to do now.
  • Using Ocean validation to validate an object in multiple states.  Multiple validation states imply that the object is going through a workflow, where an object can be valid for a certain state, but not valid for other states.  This is a common scenario in complex business applications like insurance claims or when an object is completed over several Xamarin Forms pages.
  • At the end of November 2016, the Xamarin Forms ListView view began to have some problems that cost me over a day.  In the last video, I explain the issues and what I did to get around them.  I also wrote up bugs and communicated with Microsoft about these issues.

Introduction to Ocean for Xamarin Forms

Prism and Dependency Injection in Ocean for Xamarin Forms

Async Await and Promise Pattern in Ocean for Xamarin Forms

Introduction to Ocean Validation Framework for Xamarin Forms

Ocean Multi-Object State Validation for Xamarin Forms

Xamarin Forms ListView Troubles (as of 1 Dec 2016)

Source Code

https://github.com/Oceanware/OceanForXamarinForms

Close

I hope these videos have helped with your understanding of Prism, Unity, and Ocean in Xamarin Forms.

Have a great day,

Just a grain of sand on the world’s beaches

Updated Xamarin Forms BindablePicker

Introduction

On 9/30/2016 I updated the Xamarin Forms Bindable Picker, correcting it to handle the view model clearing the Items ObservableCollection.

When the view model exposes an ObservableCollection as the BindablePickers ItemsSource and the view model clears that collection, the BindablePicker now responds correctly and updates the UI as expected by:

  • Removing all items in its collection
  • Setting SelectedItem to null
  • Setting SelectedValue to null
  • Setting SelectedIndex to -1

Much appreciate the feedback and bug reports I’ve received to make this control much better.

Close

Have a great day,

Just a grain of sand on the world’s beaches