1

I am trying to use onCreateContextMenu function and onContextItemSelected function for selecting a row from linear Layout with 2 TextBoxes in it.

What I am not able to understand is which ID to pass for registerForContextMenu(). Should I pass the ID of the TextBoxes or the LinearLaout?

I tried doing both but it didn't work.

Divins Mathew
  • 2,908
  • 4
  • 22
  • 34
Sumeet Shah
  • 29
  • 2
  • 5
  • Perhaps I am misunderstanding the question, but if your only want an example of usage see [this answer](http://stackoverflow.com/a/16872778/3882134) – BMacedo Jan 15 '17 at 18:34

0 Answers0