Hello!
I have an app with a MapFragment.
I need to execute some code when the touch action is ACTION_UP.
The fragment does not have touch event, so I've placed a Panel at the top of the MapFragment but I can't find a way to move the map.
Is there any suggestion?
Don't handle the panel Touch event. Instead add a touch listener to the panel with Reflector.SetOnTouchListener. This will allow you to pass the event to the map by returning False from the OnTouch sub.
I'm not sure that the ACTION_UP event will be raised. You will need to check it.
Hello Erel,
Thank you for your response.
Unfortunately, ACTION_UP does not raise.
I need to execute some code when the user leaves the screen with MapFragment.
I've searched and found libraries for Gestures detection.
Will they help me or they will cause problems?
Is it easy for you to add such events to the MapFragment object?