Adding gestures to images in grid view

New to Xamarin and app development in general.

I followed the recipe on how to create a grid view here: /recipes/android/layout/grid_view/create_a_grid_view/

End-goal is to add a "press and hold finger on image to fullscreen it, minimize again after removing finger" type gesture, but for now I've tried to add any gesture without much success.

I assume I need something like: /guides/xamarin-forms/application-fundamentals/gestures/tap/
So I tried adding the gesture to the click event
gridview.ItemClick += delegate (object sender, AdapterView.ItemClickEventArgs args) but nothing happened. Do I need to add the code elsewhere?

Sign In or Register to comment.