Difference between “onMenuItemSelected” and “onOptionsItemSelected”

Android knows about several types of menus (e.g. Options Menu and Context Menu). onMenuItemSelected is the generic callback. You don’t need to use this usually. onOptionsItemSelected is the callback of the options menu and onContextItemSelected is the callback of the context menu. Use these two specific ones instead.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)