'What is (View view) in android?

Can anyone please explain why should we use (View view), and what does it mean in Android while defining a method.

public void dosomething(View view) {}

Thanks in advance. I'm a beginner, so my questions might seem basic.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source