Reputation: 91
Is it somehow possible to get an item of a recyclerview at a specific screen position (x and y coordinate)?
Upvotes: 4
Views: 3140
Reputation: 3045
You can get View
of an item at specific coordinates with this method findChildViewUnder.
View itemView = recyclerView.findChildViewUnder(x, y);
Upvotes: 7