You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now the question is, is there a way to tell the generator to add Vibration.Default.Vibrate(1); or is there a hook I can override? Obviously dont want to litter every Command in the project with that line of code. Or should I create my own generator based on the implementation itself? Any pointers and advise is much appreciated
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is it possible to customise or hook into the generated codes by
[RelayCommand]
attribute? My use case is follows (oversimplified) -However, I'd like to extend the code to include, lets say haptic feedback on each command being invoked like:
Now the question is, is there a way to tell the generator to add
Vibration.Default.Vibrate(1);
or is there a hook I can override? Obviously dont want to litter everyCommand
in the project with that line of code. Or should I create my own generator based on the implementation itself? Any pointers and advise is much appreciatedBeta Was this translation helpful? Give feedback.
All reactions