Use GestureDetector constructor that takes in Context 3.0 (#3109)
This commit is contained in:
Родитель
ccb5f38645
Коммит
226adcd4a7
|
@ -90,7 +90,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
return _longPressGestureDetector;
|
||||
}
|
||||
|
||||
_longPressGestureDetector = new GestureDetector(new LongPressGestureListener(TriggerLongClick));
|
||||
_longPressGestureDetector = new GestureDetector(Context, new LongPressGestureListener(TriggerLongClick));
|
||||
return _longPressGestureDetector;
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче