Xamarin.Forms now has the DragGestureRecognizer and DropGestureRecognizer, enabling you to implement drag and drop in your apps! In this video we will see how to get started with adding drag and drop to your app and enriching the data that you’re transporting.
🔗 Links
Sample App Repo: https://github.com/jfversluis/XFDragDropSample
Los Gatos Sample App: https://github.com/davidortinau/LosGatos
Drag & Drop CollectionView Blog: https://devblogs.microsoft.com/xamarin/collectionview-drag-and-drop/
Xamarin Forms Repo: https://github.com/xamarin/Xamarin.Forms
Xamarin.Forms Drag & Drop Docs: https://docs.microsoft.com/xamarin/xamarin-forms/app-fundamentals/gestures/drag-and-drop
⏱ Timestamps
0:00 Intro
0:14 Preview of End Result
0:45 Sample App Outline & Why No MVVM?!
1:45 Implement Drag & Drop UI
2:07 XAML Pro-Tip Special Characters
6:50 Implement Drag & Drop Code-Behind
8:05 Add Additional Data to Dragged Content
9:25 Get Additional Data from Dropped Content
12:55 See Implemented Drag & Drop Functionality
13:42 Outro
#xamarin #dragdrop #draggesturerecognizer #xamarinforms