Xamarin Partner Summit Amsterdam

Chris Lamont

Xamarin Partner Summit Amsterdam

Intro

Last week the Xamarin Partner Summit took place in Amsterdam. The Xamarin Partner Summit is a summit for partners of Xamarin funnily enough. Having the privilege of working with XABLU, a 100% Xamarin focussed company and a Xamarin premier consulting partner based in the Netherlands, we were duly invited.

There were two possible tracks to take; Business or Technical (Intermediate/Advanced). Naturally I followed the advanced technical track hosted by Colby Williams.

Modularizing Code

One of the key points I took away from the talk was the idea of modularizing your code. Xamarin always promotes the idea of code reuse between platforms, but what about reusing code between applications. When writing code, we should not be writing to only satisfy the current problem we are solving, but think of writing the code in a way that can be reused.

This involves naming your methods and classes with a more generic convention and abstracting them appropriately. Then, instead of copy pasting this code between projects, create Nuget packages. An added benefit to this is that you have access to some versioning functionality allowing you to have appropriate versions of the package in different applications.

Another important and simpler way of modularizing your code is to use plugins as often as possible. You don’t need me to tell you the benefits of avoiding the reinvention of established code solutions.

Memory

IMAGES
Not really an advanced topic but it goes without saying that you should provide the correct image sizes as they will be displayed in the application, this avoids the device having to resize your image every time it is used, causing memory and performance issues.

What was interesting was to hear how many of the other Xamarin experts implement their images. Most implemented them in the traditional way (5 different pixel density versions in Android and 3 in iOS). Some, including myself a couple times, used fonts. This surprised Colby as he uses and expected others to use Vectors (pdf in iOS). This provides a better solution for scaling between devices and avoiding the aforementioned pitfalls. However, vectors come with their own problems which are mentioned in this article by Florina Muntenescu.

MEMORY LEAKS
Do a search for the amount of += that are in your solution, then compare them to the amount of -= in your solution. If there are more += than -= then you may be leaking some memory. Care must be taken to remove any event handler delegates, otherwise the garbage collection will not be able to clear the memory. This can be done in the relevant lifecycle event of the view/class.

Forms

Sometimes a contentious issue between Xamarin developers, we were hesitantly asked for our views on this platform. There needn’t have been any hesitation as everyone seemed to be fairly open minded and almost all on the same page.

The consensus was that Forms is useful in certain scenarios and circumstances, but ultimately it was a magic pill that was not a long term solution for any application.

Forms constrains the UI designer, which will have an impact on the end user experience, and end users don’t care about how much code you managed to share between platforms. To provide a custom platform specific UI for the end user, custom renderers will have to be made for every page and for every platform, defeating the purpose of Forms being the ultimate code sharing tool.

Furthermore, Forms hides the underlying platform specific environment, preventing the developer from having a real understanding of the platform and mobile development.

However, the appeal of forms is understandable. Many companies have .Net developers with C# and XAML skills that can be transferred into the Xamarin Forms environment. And with companies realising that they must have a mobile solution, backed by the lack of Xamarin professionals available, Xamarin Forms seems like a perfect solution.

Finally

The event was a great experience. The best part was the chance to talk with many Xamarin developers from around the world about our thoughts, concerns and excitement for the future.

Curious how Xablu can help your organization ?

There are many variations of passages of Lorem ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don’t look even slightly believable. are going to use a passage of Lorem ipsum, you need to be sure there isn’t anything embarrassing hidden in the middle of text. All the Lorem ipsum generators on the internet tend to repeat predefined as necessary, making this the first true generator on the internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem ipsum which looks reasonable. The generated Lorem ipsum is therefore always free from repetition, injected humour.

Reading is not only informed by what’s going on with us at that moment, but also governed by how our eyes and brains work to process information. What you see and what you’re experiencing as you read these words is quite different.
Jason Maria

mlorem ipsum is simply of passages of Lorem ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don’t look even slightly believable. If you are going to use a of Lorem ipsum, you need to be sure there isn’t anything embarrassing

hidden in the middle of text. All the Lorem ipsum generators on the internet tend to repeat predefined chunks necessary, making this the first true generator on the internet. It uses a dictionary of over 200 Latin words, combined with a handful of sentence structures, to generate Lorem ipsum which looks reasonable. The generated Lorem ipsum is therefore always from repetition, injected humour.

There is no sincerer love than the love of food.
Lorem ipsum is simply dummy printing typesetting industry. Lorem ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took galley type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap electronic typesetting, remaining essentially unchanged popularised in the 1960s with the release of Letraset containing lorem passages, and more recently desktop publishing software like aldus pagemaker including versions lorem ipsum. There are many variations passages of Lorem ipsum available, majority have suffered alteration some form, by injected humour, or randomised wordspsum and generators internet type
tend to repeat predefined chunks as necessary, making this the first true generator on the internet. It uses dictionary the over 200 Latin words, combined with a handful of model sentence structures, to generate is lorem ipsum which looks reasonable. The generated Lorem ipsum is therefore always free from repetition, injected humour.
You can never quit. Winners never quit, and quitters never win
There are many variations of passages of Lorem ipsum available, but the majority have suffered alteration in some form, by humour, or randomised words which don’t look even slightly believable. If you are going to use a passage of Lorem ipsum, you need to be sure there isn’t anything embarrassing hidden in the middle of text. All the Lorem ipsum generators on the internet tend to repeat predefined chunks as necessary, making this the first true generator on the internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem ipsum which looks reasonable. The generated Lorem ipsum is therefore always free from repetition, injected humour.
Picture of Herman Miller
Herman Miller

Lorem ipsum is simply dummy text of the printing and typesetting industry. Lorem ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen

All Author Posts

Related Posts

Insights

Ditch the MVP: Achieving Success with the Smallest Successful Release

Discover why the traditional MVP approach might not be the best strategy for established organizations. At Xablu, we advocate for the “Smallest Successful Release” (SSR), a strategy that balances minimalism with functionality to deliver significant value and a comfortable user experience.

Insights

Ensuring Your Investment in Software Development Delivers Maximum Value

How can you ensure that your investment is not only secure but also efficiently driving maximum returns? At Xablu, we guide software organizations to adopt an operating model that directly connects business objectives with measurable software development outcomes, ensuring your funds are put to optimal use.

About Me
Hello, my name is caitlyn vine jony. my job is to do lovely things to fill my little house in my free time.
Newsletter

Subscribe to our newsletter and stay updated to our offers and deals!

We are committed to protecting your privacy

Popular Post