August 2016
Beginner to intermediate
1049 pages
23h 17m
English
Every mobile platform provides us with a way of handling gestures. The approach is not the same for each platform, but the point is the same: accept touch events from the user.
Xamarin.Forms, as of this writing, has cross-platform support for the tap gesture, but worry not, view renderers come to the rescue once again. In this recipe, we will demonstrate how to add long press behavior to BoxView. The equivalent for each platform is iOS CGContext, Android ViewGroup, and Rectangle for the Windows Phone equivalent.
Read now
Unlock full access