android - Select/Unselect a recycler view inside a fragment -


i want activity below structure,

---> actionbaractivity  -----> fragment (viewpager horizontal swipe)      ----> recycler views          ---> has button 

now need achieve is, when user long press button in recycler view, should selected , activity's action bar should show contextual menu. after selecting first item(using longpress) user should able select/deselect other items click.

but main problem here how can send long press of button main activity when recycler exists in fragment.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -