I have added a menu item on right most of searchView, and wanted to open an activity on its click, but the onMenuItemClickListener callback works only when I start typing something on searchView, and doesn't work on first launch of the app. Do reply if there is some method available to achieve the above functionality.
I have added a menu item on right most of searchView, and wanted to open an activity on its click, but the onMenuItemClickListener callback works only when I start typing something on searchView, and doesn't work on first launch of the app. Do reply if there is some method available to achieve the above functionality.