Xamarin.Forms: How to make a button click vibrate, without installing further packages?

cdytoby 96 Reputation points

I have a list view, and each cell in list view contains a copy button. I want to vibrate the phone when button is clicked. How do I do that?

Also, I find it very strange that when an item is selected in the list view, the phone vibrates. I'd like to disable it in this case.

A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,323 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Alessandro Caliaro 4,181 Reputation points

    Xamarin Essentials should have a Method


    Otherwise use platform specific code

    0 comments No comments