I am trying to add a context menu to mine ExpandableListView. I implemented onCreateContextMenu()and onContextItemSelected()but if I hold my finger on a menu item, the context menu will not appear. What's my mistake?
ExpandableListView
onCreateContextMenu()
onContextItemSelected()
Ops, I just found a solution:
registerForContextMenu(getExpandableListView());
Source: https://habr.com/ru/post/1745454/More articles:destruction of an object in a vector when adding a new object - c ++Beginner C ++ - open a text file for reading, if it exists, if not, create it empty - c ++Как я могу использовать "PHP Simple HTML DOM Parser" для получения содержимого тега? - phpProblems with PowerPoint Combobox to display elements correctly - vbaPrint Text GtkTextView - gtktemplate function roundTo int, float → truncation - c ++Missing [mx.rpc] :: IResponder - flexnhibernate interception request - nhibernateCalculating free disk space - c ++Table Tennis Performance - performanceAll Articles