Xamarin 4 By Example by Matteo Bortolu & Engin Polat

Xamarin 4 By Example by Matteo Bortolu & Engin Polat

Author:Matteo Bortolu & Engin Polat [Bortolu, Matteo]
Language: eng
Format: azw3
Publisher: Packt Publishing
Published: 2016-08-30T04:00:00+00:00


Tip

Creating pages with Xaml is called Declarative Programming, and creating pages with code is called Imperative Programming. Generally speaking, Declarative Programming usually makes coding more readable, understandable, and scalable. Imperative Programming requires the developer to code the desired behavior step by step.

var panGesture = new PanGestureRecognizer(); panGesture.PanUpdated += (s, e) => { // Handle the pan }; image.GestureRecognizers.Add(panGesture);

Tip

Xamarin.Forms has a GestureRecognizer class to detect Tap, Pan, and Pinch gestures on UI elements. If we need to support custom gestures (such as Rotate, Two Finger Tap, and so on), we may create a class, implement the IGestureRecognizer interface and code the desired gesture detection algorithm.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.