Last active
March 26, 2022 10:10
-
-
Save resengupta/2b2e26c949b28f8973e5 to your computer and use it in GitHub Desktop.
Custom RecyclerView supporting ContextMenu & ContextMenuInfo
hello
can you please provide some demo for this. It will be really helpfull.
Thanks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you can use it in the same way by passing your RecyclerView to:
registerForContextMenu(myRecyclerView);
And when ever your menu item click happens on recycler view: myRecyclerView.openContextMenu(clickedItemPosition);
To use the menuInfo object: