plugins / xamarin apps - hackathon fct/unl

15
PLUGINS | XAMARIN APPS HACKATHON 2017 – FCT NOVA

Upload: sara-silva

Post on 08-Apr-2017

118 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Plugins / Xamarin Apps - Hackathon FCT/UNL

PLUGINS | XAMARIN APPSHACKATHON 2017 – FCT NOVA

Page 2: Plugins / Xamarin Apps - Hackathon FCT/UNL

SPEAKER

Sara Silva@saramgsilva

Page 3: Plugins / Xamarin Apps - Hackathon FCT/UNL

AGENDA

Recap | Mobile Development using Xamarin Plugins Q & A

Page 4: Plugins / Xamarin Apps - Hackathon FCT/UNL

RECAP | XAMARIN WORKSHOP

Page 5: Plugins / Xamarin Apps - Hackathon FCT/UNL

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

Page 6: Plugins / Xamarin Apps - Hackathon FCT/UNL

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.

Page 7: Plugins / Xamarin Apps - Hackathon FCT/UNL

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)

Page 8: Plugins / Xamarin Apps - Hackathon FCT/UNL

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;

Page 9: Plugins / Xamarin Apps - Hackathon FCT/UNL

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/

Page 10: Plugins / Xamarin Apps - Hackathon FCT/UNL

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

Page 11: Plugins / Xamarin Apps - Hackathon FCT/UNL

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/

Page 12: Plugins / Xamarin Apps - Hackathon FCT/UNL

PLUGINS

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

Page 13: Plugins / Xamarin Apps - Hackathon FCT/UNL

COMPONENTS

Page 14: Plugins / Xamarin Apps - Hackathon FCT/UNL

Q & A

Page 15: Plugins / Xamarin Apps - Hackathon FCT/UNL

Obrigada!

PLUGINS PARA XAMARIN APPS