Plugins / Xamarin Apps - Hackathon FCT/UNL

Post on 08-Apr-2017

118 views 1 download

Transcript of Plugins / Xamarin Apps - Hackathon FCT/UNL

PLUGINS | XAMARIN APPSHACKATHON 2017 – FCT NOVA

SPEAKER

Sara Silva@saramgsilva

AGENDA

Recap | Mobile Development using Xamarin Plugins Q & A

RECAP | XAMARIN WORKSHOP

RECAP | MOBILE DEVELOPMENT USING XAMARIN

Shared C# codeShared C# code

Native Development Xamarin SDK and Windows SDK Development Xamarin Forms Development

Xamarin Forms is a framework that unified the UI

RECAP | MOBILE DEVELOPMENT USING XAMARIN

Write C#. Run on 2.6 billion devices.

With C# and Visual Studio, you can share the same code on iOS, Android, Windows, Mac and more.

RECAP | MOBILE DEVELOPMENT USING XAMARIN

View Model

Feature X(Abstraction

)

Feature XiOS

Feature XAndroid

Feature XWindows

Knows

Implements

Design Pattern | Abstraction Pattern

View Model must• Be independent from the platform• Knows the abstraction for each feature

In each target, each feature:• Has your own implementation• Must respect the abstraction (the interface)

PLUGINS PARA XAMARIN APPS

What is a plugin?

Is a special kind of NuGet that adds cross-platform functionality or abstracts platformspecific functionality to a common API.

- Is completely cross-platform and extremely small;- In general, it does not have dependencies;- The plugin API can be accessed on each platform; however, most likely you will only use the common API in a Portable Class Library or Shared Code project;

PLUGINS

MVVM LightThe MVVM Light Toolkit is a set of components helping people to get started in the Model-View-ViewModel pattern in Silverlight, WPF, Windows Phone, Windows 10 UWP, Xamarin.Android, Xamarin.iOS, Xamarin.Forms. It is a light and pragmatic framework that allows you to pick which components you want to use. This version will add the MVVM Light libraries as well as some scaffolding to your application to convert it in an MVVM app!

https://www.nuget.org/packages/MvvmLight/

Popup Page Plugin for Xamarin Forms Plugin for Xamarin forms. Allows you to open any page as a popup.

https://www.nuget.org/packages/Rg.Plugins.Popup/

PLUGINS

ZXing.Net.Mobile Barcode ScannerZXing.Net.Mobile is a C#/.NET library based on the open source Barcode Library:ZXing (Zebra Crossing), using the ZXing.Net Port. It works with Xamarin.iOS, Xamarin.Android, Windows Phone (Silverlight), and Windows Universal. The goal of ZXing.Net.Mobile is to make scanning barcodes as effortless and painless as possible in your own applications.

https://www.nuget.org/packages/ZXing.Net.Mobile.Forms/

Permissions Plugin for XamarinCheck to see if your users have granted or denied permissions for common permission groups on iOS and Android. Additionally, you can request permissions with a simple cross-platform async/awaitified API.

https://github.com/jamesmontemagno/PermissionsPlugin

PLUGINS

ACR Bluetooth LE Reactive PluginCross Platform Reactive Bluetooth LE Plugin for Xamarin

https://www.nuget.org/packages/Acr.Ble/

Xamarin.FFImageLoading.FormsXamarin Forms plugin to load images quickly and easily on Xamarin.Forms.

https://www.nuget.org/packages/Xamarin.FFImageLoading.Forms/

PLUGINS

Many others references - https://github.com/xamarin/XamarinComponents

COMPONENTS

Q & A

Obrigada!

PLUGINS PARA XAMARIN APPS