0
votes

I'm a bit confused after checking out this article on Xamarin Native Forms. I'm currently using Xamarin for a project, that is created as shared project and does not have any platform specific contents. So my pages and business logic are located inside my shared project, android, iOS and UWP projects don't contain additional stuff.

Would I gain any advantages from moving the shared pages to each platforms project as described in the blogpost? This seems kind of unneccessary to me as I'd have the same code in 3 places.

TL;DR:

What are the advantages of using Xamarin Native Forms (see link) vs. shared project regarding code duplication & performance.

1
You can take a look at my answer about Difference between Xamarin.Forms and Xamarin Native. On this url: stackoverflow.com/questions/43031120/…Almir Vuk
@AlmirVuk great post, thanks!Marcel
Nice to hear that post was helpful for you! @MarcelAlmir Vuk

1 Answers

2
votes

Seems like you are confused.

Native Forms is a relatively new feature that allows you to use Xamarin.Forms with classic / native Xamarin. You can read more about in the link you provided.

Shared Project is a way to share the business logic across the native applications. There are different "Code Sharing Options" that are nicely explained in the official documentation. Each of this code sharing options has their own advantages and disadvantages. Get familiar with the official documentation and if you still will have questions just ask.