protected override void OnDetached() { TapGestureCollector.Delete(_view, TapAction); LongTapGestureCollector.Delete(_view, LongTapAction); _layer?.Dispose(); _layer = null; }
public static void Init() { CommandsPlatform.Init(); TouchEffectPlatform.Init(); LongTapGestureCollector.Init(); TapGestureCollector.Init(); }
protected override void OnAttached() { View.UserInteractionEnabled = true; TapGestureCollector.Add(View, TapAction); LongTapGestureCollector.Add(View, LongTapAction); UpdateEffectColor(); }
protected override void OnAttached() { _view = Control ?? Container; _view.UserInteractionEnabled = true; TapGestureCollector.Add(_view, TapAction); LongTapGestureCollector.Add(_view, LongTapAction); UpdateEffectColor(); }
protected override void OnDetached() { TapGestureCollector.Delete(View, TapAction); LongTapGestureCollector.Delete(View, LongTapAction); }