private void UpdateTapFeedbackColor() { _view = Control ?? Container; _view.UserInteractionEnabled = true; TapGestureCollector.Add(_view, TapAction); LongTapGestureCollector.Add(_view, LongTapAction); UpdateEffectColor(); }
protected override void OnAttached() { _view = Control ?? Container; _view.UserInteractionEnabled = true; UpdateTap(); UpdateTapParameter(); UpdateLongTap(); UpdateLongTapParameter(); TapGestureCollector.Add(_view, TapAction); LongTapGestureCollector.Add(_view, LongTapAction); }