1

I'm developing an Android app with simple ContextMenu that is containing three elements. Is there any possibility to catch nothing selected event on ContextMenu?

1 Answer 1

1

You can do this by overriding

public void onContextMenuClosed (Menu menu)

Source: http://developer.android.com/reference/android/app/Activity.html#onOptionsMenuClosed(android.view.Menu)

1
  • Thanks. I didn't see it because I was opening context menu form fargment. Jul 31, 2015 at 12:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.