Reputation: 5675
Is it possible to programmatically send click events to a view? if so, how?
Upvotes: 22
Views: 13765
Reputation: 74527
If you want to create automated tests you might want to have a look at Espresso. Otherwise you can use the performClick
method.
Upvotes: 33