D
D
Denis Afonin2015-10-16 16:13:09
Android
Denis Afonin, 2015-10-16 16:13:09

Why did onContextItemSelected(MenuItem item) stop working?

There are two FragmentActivities, in the layout of which there is a ListView, the data in which is filled from the database. For both ListView created a context menu. Until recently, the context menu with a long tap on the ListView element in both FragmentActivity worked correctly, and now in one of the FragmentActivities the context menu is called, but when the context menu item is selected, the onContextItemSelected(MenuItem item) method is not processed. What could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Afonin, 2015-10-16
@Afdenis

Question removed. I had the same IDs for both menu items in these activities.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question